Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
5e5630a4
Unverified
Commit
5e5630a4
authored
Jan 24, 2025
by
omer-dayan
Committed by
GitHub
Jan 24, 2025
Browse files
[Bugfix] Path join when building local path for S3 clone (#12353)
Signed-off-by:
Omer Dayan (SW-GPU)
<
omer@run.ai
>
parent
d3d6bb13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/transformers_utils/s3_utils.py
vllm/transformers_utils/s3_utils.py
+2
-1
No files found.
vllm/transformers_utils/s3_utils.py
View file @
5e5630a4
...
@@ -145,7 +145,8 @@ class S3Model:
...
@@ -145,7 +145,8 @@ class S3Model:
return
return
for
file
in
files
:
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
local_dir
=
Path
(
destination_file
).
parent
os
.
makedirs
(
local_dir
,
exist_ok
=
True
)
os
.
makedirs
(
local_dir
,
exist_ok
=
True
)
self
.
s3
.
download_file
(
bucket_name
,
file
,
destination_file
)
self
.
s3
.
download_file
(
bucket_name
,
file
,
destination_file
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment