Skip to content

Commit 843bc2f

Browse files
authored
Add huggingface_hub as dependency for hf (#3527)
1 parent d0b2330 commit 843bc2f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

utils/hf/setup.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,7 @@ def get_version() -> str:
1414

1515

1616
install_requires = [
17-
"filelock",
18-
"fsspec>=2023.5.0",
19-
"hf-xet>=1.2.0,<2.0.0; platform_machine=='x86_64' or platform_machine=='amd64' or platform_machine=='AMD64' or platform_machine=='arm64' or platform_machine=='aarch64'",
20-
"httpx>=0.23.0, <1",
21-
"packaging>=20.9",
22-
"pyyaml>=5.1",
23-
"shellingham",
24-
"tqdm>=4.42.1",
25-
"typer-slim",
26-
"typing-extensions>=3.7.4.3", # to be able to import TypeAlias
17+
f"huggingface_hub=={get_version()}",
2718
]
2819

2920
setup(

0 commit comments

Comments
 (0)