Skip to content

bug: docs and adapter errors still tell users to run huggingface-cli login #1813

Closed

Description

@planetf1

What happened?

On current versions of huggingface_hub, huggingface-cli login no longer works. It just prints "huggingface-cli is deprecated and no longer works. Use hf instead." The m alora missing-token errors were updated in #1798, but the docs and two of mellea's own adapter errors still give the old command:

  • mellea/backends/adapters/adapter.py:2065, :2145 (the matching test checks are at test/backends/test_adapters/test_embedded_adapter.py:527, :550)
  • cli/alora/commands.py:109, :185 (these docstrings feed the generated CLI reference)
  • cli/alora/upload.py:9, cli/alora/intrinsic_uploader.py:10
  • docs/alora.md:13, :84
  • docs/examples/aLora/README.md:55
  • docs/docs/advanced/lora-and-alora-adapters.md:100, :107

What did you expect to happen?

All of these give the same guidance as #1798: set HF_TOKEN or run hf auth login. That works on every supported Hub version, because HF_TOKEN covers 0.33.x, which doesn't have hf. After changing the docstrings, regenerate the CLI reference with uv run poe clidocs.

Leave docs/versioned_docs/ alone, since those are snapshots of releases.

How can we reproduce it?

uv run huggingface-cli login
# Warning: `huggingface-cli` is deprecated and no longer works. Use `hf` instead.

Mellea version

0.10.0.dev0 (main)

Any environmental details we need to know?

huggingface-hub 1.16.1, with any backend.

Activity

  1. added
    bug
    on Nov 12, 2026
  2. self-assigned this
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions