Skip to content

Commit 17101d6

Browse files
mention two other breaking changes in migration guide (#3473)
1 parent 56ea455 commit 17101d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/en/concepts/migration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@ Some methods and parameters have been removed in v1.0. The ones listed below hav
8686

8787
## CLI cache commands
8888

89-
Cache management from the CLI has been redesigned to follow a Docker-inspired workflow. The legacy `hf cache scan` and `hf cache delete` commands are removed in v1.0 and are replaced with the new trio below:
89+
Cache management from the CLI has been redesigned to follow a Docker-inspired workflow. The deprecated `huggingface-cli` has been removed, `hf` (introduced in v0.34) replaces it with a clearer ressource-action CLI.
90+
The legacy `hf cache scan` and `hf cache delete` commands are also removed in v1.0 and are replaced with the new trio below:
9091

9192
- `hf cache ls` lists cache entries with concise table, JSON, or CSV output. Use `--revisions` to inspect individual revisions, add `--filter` expressions such as `size>1GB` or `accessed>30d`, and combine them with `--quiet` when you only need the identifiers.
9293
- `hf cache rm` deletes selected cache entries. Pass one or more repo IDs (for example `model/bert-base-uncased`) or revision hashes, and optionally add `--dry-run` to preview or `--yes` to skip the confirmation prompt. This replaces both the interactive TUI and `--disable-tui` workflows from the previous command.
9394
- `hf cache prune` performs the common cleanup task of deleting unreferenced revisions in one shot. Add `--dry-run` or `--yes` in the same way as with `hf cache rm`.
9495

96+
Finally, the `[cli]` extra has been removed - The CLI now ships with the core `huggingface_hub` package.
9597

9698
## TensorFlow and Keras 2.x support
9799

0 commit comments

Comments
 (0)