mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 03:54:56 +08:00
[Bugfix] Path join when building local path for S3 clone (#12353)
Signed-off-by: Omer Dayan (SW-GPU) <omer@run.ai>
This commit is contained in:
parent
d3d6bb13fb
commit
5e5630a478
@ -145,7 +145,8 @@ class S3Model:
|
||||
return
|
||||
|
||||
for file in files:
|
||||
destination_file = self.dir + file.removeprefix(base_dir)
|
||||
destination_file = os.path.join(self.dir,
|
||||
file.removeprefix(base_dir))
|
||||
local_dir = Path(destination_file).parent
|
||||
os.makedirs(local_dir, exist_ok=True)
|
||||
self.s3.download_file(bucket_name, file, destination_file)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user