Skip to content

Commit

Permalink
fix_tokenizer_snapshot_download_bug (vllm-project#4493)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingljl authored Apr 30, 2024
1 parent dd1a50a commit 6ad58f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/transformers_utils/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 6ad58f4

Please sign in to comment.