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
f20c3b09
Unverified
Commit
f20c3b09
authored
Sep 17, 2025
by
ahao-anyscale
Committed by
GitHub
Sep 17, 2025
Browse files
[BUG] Exclude .pth files when pulling remote files (#25092)
Signed-off-by:
ahao-anyscale
<
ahao@anyscale.com
>
parent
88313154
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
vllm/config/__init__.py
vllm/config/__init__.py
+8
-4
No files found.
vllm/config/__init__.py
View file @
f20c3b09
...
@@ -845,7 +845,8 @@ class ModelConfig:
...
@@ -845,7 +845,8 @@ class ModelConfig:
object_storage_model
.
pull_files
(
model
,
object_storage_model
.
pull_files
(
model
,
ignore_pattern
=
[
ignore_pattern
=
[
"*.pt"
,
"*.safetensors"
,
"*.pt"
,
"*.safetensors"
,
"*.bin"
,
"*.tensors"
"*.bin"
,
"*.tensors"
,
"*.pth"
])
])
self
.
tokenizer
=
object_storage_model
.
dir
self
.
tokenizer
=
object_storage_model
.
dir
return
return
...
@@ -853,9 +854,12 @@ class ModelConfig:
...
@@ -853,9 +854,12 @@ class ModelConfig:
# Only download tokenizer if needed and not already handled
# Only download tokenizer if needed and not already handled
if
is_runai_obj_uri
(
tokenizer
):
if
is_runai_obj_uri
(
tokenizer
):
object_storage_tokenizer
=
ObjectStorageModel
()
object_storage_tokenizer
=
ObjectStorageModel
()
object_storage_tokenizer
.
pull_files
(
object_storage_tokenizer
.
pull_files
(
model
,
model
,
ignore_pattern
=
[
ignore_pattern
=
[
"*.pt"
,
"*.safetensors"
,
"*.bin"
,
"*.tensors"
])
"*.pt"
,
"*.safetensors"
,
"*.bin"
,
"*.tensors"
,
"*.pth"
])
self
.
tokenizer
=
object_storage_tokenizer
.
dir
self
.
tokenizer
=
object_storage_tokenizer
.
dir
def
_get_encoder_config
(
self
):
def
_get_encoder_config
(
self
):
...
...
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