Skip to content

Commit

Permalink
/dev/shm is not guarenteed - use /tmp instead
Browse files Browse the repository at this point in the history
Signed-off-by: OmerD <[email protected]>
  • Loading branch information
omer-dayan committed Nov 25, 2024
1 parent fdbce70 commit 980b36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/transformers_utils/s3_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(self) -> None:
for sig in (signal.SIGINT, signal.SIGTERM):
existing_handler = signal.getsignal(sig)
signal.signal(sig, self.close_by_signal(existing_handler))
self.dir = tempfile.mkdtemp(dir='/dev/shm')
self.dir = tempfile.mkdtemp()

def __del__(self):
self.close()
Expand Down

0 comments on commit 980b36c

Please sign in to comment.