We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a726b30 commit d55d9e4Copy full SHA for d55d9e4
1 file changed
gptqmodel/utils/hub.py
@@ -5,16 +5,17 @@
5
6
from __future__ import annotations
7
8
-from huggingface_hub import create_repo
+import huggingface_hub
9
from transformers.utils import hub as transformers_hub
10
from transformers.utils import logging as transformers_logging
11
12
13
cached_file = transformers_hub.cached_file
14
+create_repo = huggingface_hub.create_repo
15
has_file = transformers_hub.has_file
-hf_hub_download = transformers_hub.hf_hub_download
16
-list_repo_tree = transformers_hub.list_repo_tree
17
-snapshot_download = transformers_hub.snapshot_download
+hf_hub_download = huggingface_hub.hf_hub_download
+list_repo_tree = huggingface_hub.list_repo_tree
18
+snapshot_download = huggingface_hub.snapshot_download
19
20
disable_progress_bar = transformers_logging.disable_progress_bar
21
0 commit comments