Fix/adjust diffusion: restore huggingface_hub line to no-torch-runtime for PR #5754
Round 34 P1: R33 removed the `huggingface_hub>=1.3.0,<2.0` line entirely when the right revert was to restore the pre-PR `huggingface_hub>=0.34.0` floor. install.sh --no-torch installs this requirements file with --no-deps and does NOT install studio.txt afterward, so without an explicit Hub line a no-torch Studio install ends with no huggingface_hub at all and the new diffusion + chat GGUF paths fail at import with ModuleNotFoundError: huggingface_hub. Restores the pre-PR floor and documents both the round-26 walk-back and the round-34 reason the package line stays.
This commit is contained in:
parent
4e1c622d20
commit
081377fd30
1 changed files with 15 additions and 8 deletions
|
|
@ -43,16 +43,23 @@ safetensors>=0.4.3
|
|||
datasets>=3.4.1,!=4.0.*,!=4.1.0,<4.4.0
|
||||
accelerate>=0.34.1
|
||||
peft>=0.18.0,!=0.11.0
|
||||
# Round 33 P1: reverted the round-26 hub>=1.3.0 floor. Studio's
|
||||
# install_python_stack later forces hub==0.36.2 via studio.txt
|
||||
# (constraint by transformers==4.57.6 pinned in extras-no-deps.txt),
|
||||
# so the 1.3.0 floor was internally inconsistent with the steady
|
||||
# install state. extras-no-deps holds transformers at 4.x, so the
|
||||
# transformers-5.x is_offline_mode concern that motivated the
|
||||
# original bump never actually triggers on the supported install
|
||||
# path. Verified live on B200: hub 0.36.2 + transformers 4.57.6 +
|
||||
# Round 33 P1: reverted the round-26 hub>=1.3.0 floor to the
|
||||
# pre-PR >=0.34.0 floor. Studio's install_python_stack later
|
||||
# forces hub==0.36.2 via studio.txt (constrained by
|
||||
# transformers==4.57.6 in extras-no-deps.txt), so the 1.3.0
|
||||
# floor was internally inconsistent. extras-no-deps holds
|
||||
# transformers at 4.x, so the transformers-5.x is_offline_mode
|
||||
# concern that motivated the original bump never actually
|
||||
# triggers on the supported install path.
|
||||
# Round 34 P1: the line itself must stay because install.sh
|
||||
# --no-torch installs THIS file with --no-deps and does not run
|
||||
# studio.txt afterward; without the package line a no-torch
|
||||
# install ends with no huggingface_hub at all and the new
|
||||
# diffusion / chat GGUF paths fail with ModuleNotFoundError.
|
||||
# Verified live on B200: hub 0.36.2 + transformers 4.57.6 +
|
||||
# diffusers 0.37.1 imports Flux2KleinPipeline cleanly and runs
|
||||
# end-to-end image generation.
|
||||
huggingface_hub>=0.34.0
|
||||
hf_transfer
|
||||
# Floor 0.37.0 introduces Flux2KleinPipeline + Flux2Pipeline which the
|
||||
# Studio Images page imports for the default curated picker.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue