Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ jobs:
tensorflow)
# Cannot be on same line since '_tf*' checks if tensorflow is NOT imported by default
eval "$PYTEST ../tests/test_tf*"
eval "$PYTEST ../tests/test_keras*"
eval "$PYTEST ../tests/test_serialization.py"
;;

Expand Down
10 changes: 0 additions & 10 deletions docs/source/en/package_reference/mixins.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ how to integrate any ML framework with the Hub.

[[autodoc]] PyTorchModelHubMixin

### Keras

[[autodoc]] KerasModelHubMixin

[[autodoc]] from_pretrained_keras

[[autodoc]] push_to_hub_keras

[[autodoc]] save_pretrained_keras

### Fastai

[[autodoc]] from_pretrained_fastai
Expand Down
10 changes: 0 additions & 10 deletions docs/source/ko/package_reference/mixins.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ ML 프레임워크를 Hub와 통합하는 방법은 [통합 가이드](../guides

[[autodoc]] PyTorchModelHubMixin

### Keras[[huggingface_hub.KerasModelHubMixin]]

[[autodoc]] KerasModelHubMixin

[[autodoc]] from_pretrained_keras

[[autodoc]] push_to_hub_keras

[[autodoc]] save_pretrained_keras

### Fastai[[huggingface_hub.from_pretrained_fastai]]

[[autodoc]] from_pretrained_fastai
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def get_version() -> str:

extras["tensorflow-testing"] = [
"tensorflow",
"keras<3.0",
]

extras["hf_xet"] = ["hf-xet>=1.1.2,<2.0.0"]
Expand Down
16 changes: 0 additions & 16 deletions src/huggingface_hub/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,12 +469,6 @@
"inference._mcp.mcp_client": [
"MCPClient",
],
"keras_mixin": [
"KerasModelHubMixin",
"from_pretrained_keras",
"push_to_hub_keras",
"save_pretrained_keras",
],
"repocard": [
"DatasetCard",
"ModelCard",
Expand Down Expand Up @@ -687,7 +681,6 @@
"JobOwner",
"JobStage",
"JobStatus",
"KerasModelHubMixin",
"MCPClient",
"ModelCard",
"ModelCardData",
Expand Down Expand Up @@ -862,7 +855,6 @@
"fetch_job_logs",
"file_exists",
"from_pretrained_fastai",
"from_pretrained_keras",
"get_async_session",
"get_collection",
"get_dataset_tags",
Expand Down Expand Up @@ -933,7 +925,6 @@
"permanently_delete_lfs_files",
"preupload_lfs_files",
"push_to_hub_fastai",
"push_to_hub_keras",
"read_dduf_file",
"reject_access_request",
"rename_discussion",
Expand All @@ -949,7 +940,6 @@
"run_as_future",
"run_job",
"run_uv_job",
"save_pretrained_keras",
"save_torch_model",
"save_torch_state_dict",
"scale_to_zero_inference_endpoint",
Expand Down Expand Up @@ -1485,12 +1475,6 @@ def __dir__():
)
from .inference._mcp.agent import Agent # noqa: F401
from .inference._mcp.mcp_client import MCPClient # noqa: F401
from .keras_mixin import (
KerasModelHubMixin, # noqa: F401
from_pretrained_keras, # noqa: F401
push_to_hub_keras, # noqa: F401
save_pretrained_keras, # noqa: F401
)
from .repocard import (
DatasetCard, # noqa: F401
ModelCard, # noqa: F401
Expand Down
Loading
Loading