Spaces:
Build error
Build error
Merge branch 'main' into multiprojects
Browse filesFiles changed (5)
190 unmodified lines191192193194195196197198199200201202203204205206207208190 unmodified lines./setup.sh```### Degraded installation in localIf you cannot meet the requirements, you can:- solution 1: fix requirements.txt to use another prebuilt wheel- solution 2: manually build/install flash attention- solution 3: don't use clip captioningHere is how to do solution 3:```bash./setup_no_captions.sh```## Run190 unmodified lines191192193194195196197198199200201202203204205206190 unmodified lines./setup.sh```### macOS is NOT supportedCurrently macOS is NOT supported due to two separate dependency issues:- issue with flash attention- issue with decordHowever, the paradox is that I actually develop and maintain VMS using macOS!So don't be surprised by the presence of "degraded_setup.sh" and all, it's just a workaround for me to be able to at least test the web ui on macOS.## Run
1234567891011121314151617181920acceleratebitsandbytesdatasets>=3.3.2diffusers>=0.32.1transformers>=4.45.2huggingface_hubhf_transfer>=0.1.8peft>=0.13.0#decord>=0.6.0wandbpandastorch>=2.5.1torchvision>=0.20.1torchdata>=0.10.1torchao>=0.7.0sentencepiece>=0.2.0imageio-ffmpeg>=0.5.1numpy>=1.26.4kornia>=0.7.3ruff==0.9.102 unmodified lines34567891011121314151617182 unmodified lines# For GPU monitoring of NVIDIA chipsetspynvml# eva-decord is missing get_batch it seems#eva-decord==0.6.1#decord# we are waiting for the next PyPI release#finetrainers==0.1.0finetrainers @ git+https://github.com/a-r-r-o-w/finetrainers.git@main# temporary fix for pip install bug:#finetrainers @ git+https://github.com/jbilcke-hf/finetrainers-patches.git@fix_missing_sft_trainer_files# it is recommended to always use the latest versiondiffusers @ git+https://github.com/huggingface/diffusers.git@main2 unmodified lines3456782 unmodified lines# For GPU monitoring of NVIDIA chipsetspynvml# it is recommended to always use the latest versiondiffusers @ git+https://github.com/huggingface/diffusers.git@main
1234565 unmodified lines12131415161718#!/usr/bin/env bashecho "if install fails due to python being not found, edit setup_no_captions.sh to replace with another version of python"# if you are on a mac, you can try to replace "python3.10" with:# python3.105 unmodified linessource .venv/bin/activatepython3.10 -m pip install -r requirements_without_flash_attention.txt# if you require flash attention, please install it manually for your operating system1234565 unmodified lines1213141516171819202122232425#!/usr/bin/env bashecho "Degraded setup for environments where decord cannot be installed"# if you are on a mac, you can try to replace "python3.10" with:# python3.105 unmodified linessource .venv/bin/activate# :(python3.10 -m pip install -r degraded_requirements.txt# :((finetrainers @ git+https://github.com/a-r-r-o-w/finetrainers.git@main --no-deps# :(((python3.10 -m pip install -r degraded_finetrainers_requirements.txt# if you require flash attention, please install it manually for your operating system
3 unmodified lines45673 unmodified linessource .venv/bin/activatepython -m pip install -r requirements.txt3 unmodified lines456789103 unmodified linessource .venv/bin/activatepython -m pip install -r requirements.txt# if flash attention couldn't be installed for your operating system you can try this:# python -m pip install wheel setuptools flash-attn --no-build-isolation --no-cache-dir
README.md+7-9
degraded_finetrainers_requirements.txtAdded+20
requirements_without_flash_attention.txt → degraded_requirements.txtRenamed-10
setup_no_captions.sh → degraded_setup.shRenamed+9-2
setup.sh+4-1