diff --git a/studio/backend/requirements/no-torch-runtime.txt b/studio/backend/requirements/no-torch-runtime.txt index 5cf65c7eea..b43d11cf36 100644 --- a/studio/backend/requirements/no-torch-runtime.txt +++ b/studio/backend/requirements/no-torch-runtime.txt @@ -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.