Bug 2507419

Summary: The download command doesn't work
Product: [Fedora] Fedora Reporter: Fabio Porcedda <fabio.porcedda>
Component: python-huggingface-hubAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: lbarczio, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-huggingface-hub-1.24.0-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-07 01:14:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabio Porcedda 2026-07-27 10:06:27 UTC
The command "hf download hf://unsloth/Qwen3.6-27B-GGUF/Qwen3.6-27B-Q4_K_M.gguf" doesn't not work, instead it works fine using the rawhide version python3-huggingface-hub-0:1.23.0-2.

If the issue is that the 1.3.1 is just too old, the fedora 44 version could be also updated to 1.32.0-2 just like the rawhide version?



Reproducible: Always

Steps to Reproduce:
1.
hf download hf://unsloth/Qwen3.6-27B-GGUF/Qwen3.6-27B-Q4_K_M.gguf
2.
3.
Actual Results:
Traceback (most recent call last):
  File "/usr/sbin/hf", line 7, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.14/site-packages/huggingface_hub/cli/hf.py", line 64, in main
    app()
    ~~~^^
  File "/usr/lib/python3.14/site-packages/typer/main.py", line 1152, in __call__
    raise e
  File "/usr/lib/python3.14/site-packages/typer/main.py", line 1135, in __call__
    return get_command(self)(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/click/core.py", line 1514, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/typer/core.py", line 794, in main
    return _main(
        self,
    ...<6 lines>...
        **extra,
    )
  File "/usr/lib/python3.14/site-packages/typer/core.py", line 188, in _main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.14/site-packages/click/core.py", line 1902, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/click/core.py", line 1298, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/click/core.py", line 853, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.14/site-packages/typer/main.py", line 1514, in wrapper
    return callback(**use_params)
  File "/usr/lib/python3.14/site-packages/huggingface_hub/cli/download.py", line 188, in download
    _print_result(run_download())
                  ~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/huggingface_hub/cli/download.py", line 149, in run_download
    return snapshot_download(
        repo_id=repo_id,
    ...<10 lines>...
        dry_run=dry_run,
    )
  File "/usr/lib/python3.14/site-packages/huggingface_hub/utils/_validators.py", line 85, in _inner_fn
    validate_repo_id(arg_value)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/huggingface_hub/utils/_validators.py", line 129, in validate_repo_id
    raise HFValidationError(
    ...<2 lines>...
    )
huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': 'hf://unsloth/Qwen3.6-27B-GGUF/Qwen3.6-27B-Q4_K_M.gguf'. Use `repo_type` argument if needed.


Expected Results:
Qwen3.6-27B-Q4_K_M.gguf: downloading bytes: ███████████████████████████████████████████████████████| 16.8GB, 17.2MB/s  
Qwen3.6-27B-Q4_K_M.gguf: reconstructing file: 100%|███████████████████████████████████████| 16.8GB / 16.8GB, 66.9MB/s  
✓ Downloaded
  path: /home/fabiopo/.cache/huggingface/hub/models--unsloth--Qwen3.6-27B-GGUF/snapshots/82d411acf4a06cfb8d9b073a5211bf410bfc29bf/Qwen3.6-27B-Q4_K_M.gguf

Comment 1 Fedora Update System 2026-07-27 12:36:58 UTC
FEDORA-2026-565e049886 (python-huggingface-hub-1.24.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-565e049886

Comment 2 Fedora Update System 2026-07-28 01:36:00 UTC
FEDORA-2026-565e049886 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-565e049886`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-565e049886

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fabio Porcedda 2026-07-28 07:02:57 UTC
The update fixes the issue.

Thanks

Comment 4 Fedora Update System 2026-07-30 02:00:17 UTC
FEDORA-2026-565e049886 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-565e049886`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-565e049886

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-08-07 01:14:17 UTC
FEDORA-2026-565e049886 (python-huggingface-hub-1.24.0-1.fc44 and python-logdetective-3.5.0-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.