Error with the CLI tool

#2
by Dekriel - opened

I'm getting an error with running the command >huggingface-cli download TheBloke/Augmental-13B-GPTQ --local-dir Augmental-13B-GPTQ --local-dir-use-symlinks False

huggingface-cli: error: argument {env,login,whoami,logout,repo,lfs-enable-largefiles,lfs-multipart-upload,scan-cache,delete-cache}: invalid choice: 'download' (choose from 'env', 'login', 'whoami', 'logout', 'repo', 'lfs-enable-largefiles', 'lfs-multipart-upload', 'scan-cache', 'delete-cache')

You need to update huggingface-hub to version 0.17 or later; latest is 0.18.0, which is what I'd recommend

I also get the same error with huggingface-hub on version 0.20.3

Actually it is solved. My huggingface-cli was not installed in the correct env. I updated the correct one and it works now.

Had the same issue with huggingface-hub==0.21.3. Fixed it by re-installing with the -U flag in pip

pip install -U huggingface-hub

Hmm on Version: 0.23.2, tried pip install -U in my env, and running into same issue.

Hmm on Version: 0.23.2, tried pip install -U in my env, and running into same issue.

Same issue encountered

Sign up or log in to comment