Update win_config_cn.bat

This commit is contained in:
Qing 2024-05-14 11:04:56 +08:00 committed by GitHub
parent 886902281d
commit dc4b9690c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,15 +6,7 @@ set PATH=C:\Windows\System32;%PATH%
@call conda-unpack @call conda-unpack
@call conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ @call pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple
@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 --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
@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 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 pip3 install -U iopaint
@call iopaint install-plugins-packages @call iopaint install-plugins-packages