|
30 | 30 | # yapf conflicts with isort for this block
|
31 | 31 | # yapf: disable
|
32 | 32 | from vllm.transformers_utils.configs import (ChatGLMConfig, DeepseekVLV2Config,
|
33 |
| - KimiVLConfig, MedusaConfig, |
34 |
| - MLPSpeculatorConfig, |
35 |
| - Nemotron_Nano_VL_Config, |
36 |
| - NemotronConfig, OvisConfig, |
37 |
| - RWConfig, SpeculatorsConfig, |
38 |
| - Step3TextConfig, Step3VLConfig, |
39 |
| - UltravoxConfig) |
| 33 | + KimiVLConfig, MedusaConfig, |
| 34 | + MLPSpeculatorConfig, |
| 35 | + Nemotron_Nano_VL_Config, |
| 36 | + NemotronConfig, OvisConfig, |
| 37 | + RWConfig, SpeculatorsConfig, |
| 38 | + Step3TextConfig, Step3VLConfig, |
| 39 | + UltravoxConfig) |
40 | 40 |
|
41 | 41 | # yapf: enable
|
42 | 42 | from vllm.transformers_utils.configs.mistral import adapt_config_dict
|
@@ -929,15 +929,15 @@ def get_hf_file_bytes(file_name: str,
|
929 | 929 | model: Union[str, Path],
|
930 | 930 | revision: Optional[str] = 'main') -> Optional[bytes]:
|
931 | 931 | file_path = try_get_local_file(model=model,
|
932 |
| - file_name=file_name, |
933 |
| - revision=revision) |
| 932 | + file_name=file_name, |
| 933 | + revision=revision) |
934 | 934 |
|
935 | 935 | if file_path is None:
|
936 | 936 | try:
|
937 | 937 | hf_hub_file = hf_hub_download(model,
|
938 |
| - file_name, |
939 |
| - revision=revision, |
940 |
| - token=_get_hf_token()) |
| 938 | + file_name, |
| 939 | + revision=revision, |
| 940 | + token=_get_hf_token()) |
941 | 941 | file_path = Path(hf_hub_file)
|
942 | 942 | except Exception:
|
943 | 943 | return None
|
|
0 commit comments