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
6ad58f42
Unverified
Commit
6ad58f42
authored
May 01, 2024
by
fuchen.ljl
Committed by
GitHub
Apr 30, 2024
Browse files
fix_tokenizer_snapshot_download_bug (#4493)
parent
dd1a50a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/transformers_utils/tokenizer.py
vllm/transformers_utils/tokenizer.py
+1
-1
No files found.
vllm/transformers_utils/tokenizer.py
View file @
6ad58f42
...
...
@@ -79,7 +79,7 @@ def get_tokenizer(
revision
=
revision
,
local_files_only
=
huggingface_hub
.
constants
.
HF_HUB_OFFLINE
,
# Ignore weights - we only need the tokenizer.
ignore_file_pattern
=
[
"*.pt"
,
"*.safetensors"
,
"*.bin"
])
ignore_file_pattern
=
[
"
.
*.pt"
,
"
.
*.safetensors"
,
"
.
*.bin"
])
tokenizer_name
=
tokenizer_path
if
tokenizer_mode
==
"slow"
:
...
...
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