microsoft / microsoft/BitNet

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

Open Beginner friendly
#560 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
40.3k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

Please update the setup_env.py file and replace huggingface-cli with hf

So it should become:

run_command(["hf", "download", hf_url, "--local-dir", model_dir], log_step="download_model")

See also:
https://github.com/microsoft/BitNet/issues/349

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open setup_env.py and find the run_command invocation that uses huggingface-cli. Replace that command with hf as shown in the issue, then run the relevant setup or download flow to confirm the model download completes without the deprecation failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
92/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.