Skip to content

hf_transfer error solution #18

@dturkuler

Description

@dturkuler

I get hf_transfer error in episode_24 for modal.com on schnell file.

Solution:
Update the modal_nunchaku_flux_schnell.py file requirements as follows:

 .run_commands(
    f"uv pip install --system --compile-bytecode --index-strategy unsafe-best-match huggingface-hub[hf-transfer]~=0.34 accelerate~=1.9.0 Pillow~=11.2.1 safetensors~=0.5.3 transformers~=4.53.0 sentencepiece~=0.2.0 torch==2.7.1 torchvision torchaudio optimum-quanto==0.2.7 fastapi[standard]==0.115.4 python-multipart==0.0.12 https://github.com/nunchaku-tech/nunchaku/releases/download/v1.0.0/nunchaku-1.0.0+torch2.7-cp313-cp313-linux_x86_64.whl --extra-index-url https://download.pytorch.org/whl/cu128"
)

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions