Create win_config_cn.bat
This commit is contained in:
parent
031846c8fd
commit
1a3251d6ec
24
scripts/user_scripts/win_config_cn.bat
Normal file
24
scripts/user_scripts/win_config_cn.bat
Normal file
@ -0,0 +1,24 @@
|
||||
@echo off
|
||||
|
||||
set PATH=C:\Windows\System32;%PATH%
|
||||
|
||||
@call installer\Scripts\activate.bat
|
||||
|
||||
@call conda-unpack
|
||||
|
||||
@call conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
|
||||
@call conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
|
||||
@call conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
|
||||
@call conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/
|
||||
@call conda config --set show_channel_urls yes
|
||||
|
||||
@call conda install -y -c conda-forge cudatoolkit=11.8
|
||||
|
||||
@call pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
@call pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu118
|
||||
@call pip3 install -U iopaint
|
||||
@call iopaint install-plugins-packages
|
||||
|
||||
@call iopaint start-web-config --config-file %0\..\installer_config.json
|
||||
|
||||
PAUSE
|
Loading…
Reference in New Issue
Block a user