Skip to content

Commit a810c37

Browse files
author
ochafik
committed
Partial revert of LLAMA_CACHE=tmp (unless set explicitly in env)
1 parent cbecb35 commit a810c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def start(self, timeout_seconds: int | None = DEFAULT_HTTP_TIMEOUT) -> None:
191191
creationflags=flags,
192192
stdout=sys.stdout,
193193
stderr=sys.stdout,
194-
# env={**os.environ, "LLAMA_CACHE": "tmp"},
194+
env={**os.environ, "LLAMA_CACHE": "tmp"} if "LLAMA_CACHE" not in os.environ else None,
195195
)
196196
server_instances.add(self)
197197

0 commit comments

Comments
 (0)