3
setup.py
3
setup.py
@@ -120,7 +120,6 @@ _deps = [
|
|||||||
"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",
|
||||||
"isort>=5.5.4",
|
|
||||||
"jax>=0.4.1,<=0.4.13",
|
"jax>=0.4.1,<=0.4.13",
|
||||||
"jaxlib>=0.4.1,<=0.4.13",
|
"jaxlib>=0.4.1,<=0.4.13",
|
||||||
"jieba",
|
"jieba",
|
||||||
@@ -368,7 +367,7 @@ extras["testing"] = (
|
|||||||
|
|
||||||
extras["deepspeed-testing"] = extras["deepspeed"] + extras["testing"] + extras["optuna"] + extras["sentencepiece"]
|
extras["deepspeed-testing"] = extras["deepspeed"] + extras["testing"] + extras["optuna"] + extras["sentencepiece"]
|
||||||
extras["ruff"] = deps_list("ruff")
|
extras["ruff"] = deps_list("ruff")
|
||||||
extras["quality"] = deps_list("datasets", "isort", "ruff", "GitPython", "urllib3", "libcst", "rich", "pandas")
|
extras["quality"] = deps_list("datasets", "ruff", "GitPython", "urllib3", "libcst", "rich", "pandas")
|
||||||
|
|
||||||
extras["all"] = (
|
extras["all"] = (
|
||||||
extras["tf"]
|
extras["tf"]
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ deps = {
|
|||||||
"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",
|
||||||
"isort": "isort>=5.5.4",
|
|
||||||
"jax": "jax>=0.4.1,<=0.4.13",
|
"jax": "jax>=0.4.1,<=0.4.13",
|
||||||
"jaxlib": "jaxlib>=0.4.1,<=0.4.13",
|
"jaxlib": "jaxlib>=0.4.1,<=0.4.13",
|
||||||
"jieba": "jieba",
|
"jieba": "jieba",
|
||||||
|
|||||||
@@ -38,12 +38,12 @@ from typing import TYPE_CHECKING, Any, Callable, Optional, Union
|
|||||||
|
|
||||||
|
|
||||||
# Integrations must be imported before ML frameworks:
|
# Integrations must be imported before ML frameworks:
|
||||||
# isort: off
|
# ruff: isort: off
|
||||||
from .integrations import (
|
from .integrations import (
|
||||||
get_reporting_integration_callbacks,
|
get_reporting_integration_callbacks,
|
||||||
)
|
)
|
||||||
|
|
||||||
# isort: on
|
# ruff: isort: on
|
||||||
|
|
||||||
import huggingface_hub.utils as hf_hub_utils
|
import huggingface_hub.utils as hf_hub_utils
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
"""
|
"""
|
||||||
isort:skip_file
|
ruff: isort: skip_file
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|||||||
Reference in New Issue
Block a user