EveryDream2trainer/windows_setup.cmd

35 lines
1.0 KiB
Batchfile
Raw Normal View History

2022-12-17 21:02:05 -07:00
python -m venv venv
call "venv\Scripts\activate.bat"
2022-12-17 23:21:35 -07:00
echo should be in venv here
cd .
2022-12-17 21:02:05 -07:00
python -m pip install --upgrade pip
2023-05-30 20:15:02 -06:00
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url "https://download.pytorch.org/whl/cu118"
pip install -U transformers==4.29.2
pip install -U diffusers[torch]==0.18.0
2022-12-17 21:02:05 -07:00
pip install pynvml==11.4.1
2023-09-02 09:18:12 -06:00
pip install -U pip install -U https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl
2022-12-17 21:02:05 -07:00
pip install ftfy==6.1.1
2023-05-30 20:15:02 -06:00
pip install aiohttp==3.8.4
2022-12-17 21:02:05 -07:00
pip install tensorboard>=2.11.0
2022-12-18 15:21:13 -07:00
pip install protobuf==3.20.1
2023-05-30 20:15:02 -06:00
pip install wandb==0.15.3
pip install pyre-extensions==0.0.29
pip install -U xformers==0.0.20
2022-12-17 21:02:05 -07:00
pip install pytorch-lightning==1.6.5
pip install OmegaConf==2.2.3
2022-12-18 11:03:44 -07:00
pip install numpy==1.23.5
2023-02-25 14:36:04 -07:00
pip install lion-pytorch
pip install compel~=1.1.3
2023-06-03 09:27:38 -06:00
pip install dadaptation
2023-06-29 16:12:52 -06:00
pip install safetensors
pip install open-flamingo==2.0.0
2022-12-17 21:02:05 -07:00
python utils/get_yamls.py
GOTO :eof
:ERROR
echo Something blew up. Make sure Pyton 3.10.x is installed and in your PATH.
:eof
ECHO done
2023-02-18 20:33:28 -07:00
pause