2
setup.py
2
setup.py
@@ -117,6 +117,7 @@ _deps = [
|
|||||||
"fugashi>=1.0",
|
"fugashi>=1.0",
|
||||||
"GitPython<3.1.19",
|
"GitPython<3.1.19",
|
||||||
"hf-doc-builder>=0.3.0",
|
"hf-doc-builder>=0.3.0",
|
||||||
|
"hf_xet",
|
||||||
"huggingface-hub>=0.30.0,<1.0",
|
"huggingface-hub>=0.30.0,<1.0",
|
||||||
"importlib_metadata",
|
"importlib_metadata",
|
||||||
"ipadic>=1.0.0,<2.0",
|
"ipadic>=1.0.0,<2.0",
|
||||||
@@ -283,6 +284,7 @@ extras["tf-cpu"] = deps_list(
|
|||||||
|
|
||||||
extras["torch"] = deps_list("torch", "accelerate")
|
extras["torch"] = deps_list("torch", "accelerate")
|
||||||
extras["accelerate"] = deps_list("accelerate")
|
extras["accelerate"] = deps_list("accelerate")
|
||||||
|
extras["hf_xet"] = deps_list("hf_xet")
|
||||||
|
|
||||||
if os.name == "nt": # windows
|
if os.name == "nt": # windows
|
||||||
extras["retrieval"] = deps_list("datasets") # faiss is not supported on windows
|
extras["retrieval"] = deps_list("datasets") # faiss is not supported on windows
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ deps = {
|
|||||||
"fugashi": "fugashi>=1.0",
|
"fugashi": "fugashi>=1.0",
|
||||||
"GitPython": "GitPython<3.1.19",
|
"GitPython": "GitPython<3.1.19",
|
||||||
"hf-doc-builder": "hf-doc-builder>=0.3.0",
|
"hf-doc-builder": "hf-doc-builder>=0.3.0",
|
||||||
|
"hf_xet": "hf_xet",
|
||||||
"huggingface-hub": "huggingface-hub>=0.30.0,<1.0",
|
"huggingface-hub": "huggingface-hub>=0.30.0,<1.0",
|
||||||
"importlib_metadata": "importlib_metadata",
|
"importlib_metadata": "importlib_metadata",
|
||||||
"ipadic": "ipadic>=1.0.0,<2.0",
|
"ipadic": "ipadic>=1.0.0,<2.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user