We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5264699 commit 8e583c4Copy full SHA for 8e583c4
vllm/envs.py
@@ -1430,9 +1430,10 @@ def enable_envs_cache() -> None:
1430
runtime overhead. This also means that environment variables should NOT
1431
be updated after the service is initialized.
1432
"""
1433
- # Tag __getattr__ with lru_cache
+ # Tag __getattr__ with functools.cache
1434
global __getattr__
1435
__getattr__ = functools.cache(__getattr__)
1436
+
1437
# Cache all environment variables
1438
for key in environment_variables:
1439
__getattr__(key)
0 commit comments