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 1183fb9 commit 2a3d1a8Copy full SHA for 2a3d1a8
vllm/envs.py
@@ -1437,9 +1437,10 @@ def enable_envs_cache() -> None:
1437
runtime overhead. This also means that environment variables should NOT
1438
be updated after the service is initialized.
1439
"""
1440
- # Tag __getattr__ with lru_cache
+ # Tag __getattr__ with functools.cache
1441
global __getattr__
1442
__getattr__ = functools.cache(__getattr__)
1443
+
1444
# Cache all environment variables
1445
for key in environment_variables:
1446
__getattr__(key)
0 commit comments