Skip to content

Commit aa40fda

Browse files
authored
Hf Xet extra (#37305)
* Hf Xet extra * Hf Xet extra
1 parent e945715 commit aa40fda

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
"fugashi>=1.0",
118118
"GitPython<3.1.19",
119119
"hf-doc-builder>=0.3.0",
120+
"hf_xet",
120121
"huggingface-hub>=0.30.0,<1.0",
121122
"importlib_metadata",
122123
"ipadic>=1.0.0,<2.0",
@@ -283,6 +284,7 @@ def run(self):
283284

284285
extras["torch"] = deps_list("torch", "accelerate")
285286
extras["accelerate"] = deps_list("accelerate")
287+
extras["hf_xet"] = deps_list("hf_xet")
286288

287289
if os.name == "nt": # windows
288290
extras["retrieval"] = deps_list("datasets") # faiss is not supported on windows

src/transformers/dependency_versions_table.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"fugashi": "fugashi>=1.0",
2525
"GitPython": "GitPython<3.1.19",
2626
"hf-doc-builder": "hf-doc-builder>=0.3.0",
27+
"hf_xet": "hf_xet",
2728
"huggingface-hub": "huggingface-hub>=0.30.0,<1.0",
2829
"importlib_metadata": "importlib_metadata",
2930
"ipadic": "ipadic>=1.0.0,<2.0",

0 commit comments

Comments
 (0)