Spaces:
Running
Running
File size: 737 Bytes
91fb4ef 3e6cbbd b613c3c 91fb4ef 3e6cbbd 91fb4ef |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
#!/usr/bin/env bash
echo "Degraded setup for environments where decord cannot be installed"
# if you are on a mac, you can try to replace "python3.10" with:
# python3.10
# python3.11 (not tested)
# python3.12 (not tested)
# python3.13 (tested, fails to install)
python3.10 -m venv .venv
source .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
# you can try this:
# python -m pip install wheel setuptools flash-attn --no-build-isolation --no-cache-dir |