Skip to content

Commit

Permalink
Upgrade to cu124
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Aug 27, 2024
1 parent 0fd9c58 commit cfc79b8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ To install the necessary dependencies on a Windows system, follow these steps:
1. Install [Python 3.10.11](https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe).
- During the installation process, ensure that you select the option to add Python to the 'PATH' environment variable.

2. Install [CUDA 11.8 toolkit](https://developer.nvidia.com/cuda-11-8-0-download-archive?target_os=Windows&target_arch=x86_64).
2. Install [CUDA 12.4 toolkit](https://developer.nvidia.com/cuda-12-4-0-download-archive?target_os=Windows&target_arch=x86_64).

3. Install [Git](https://git-scm.com/download/win).

Expand Down Expand Up @@ -133,7 +133,7 @@ To install the necessary dependencies on a Linux system, ensure that you fulfill
apt install python3.10-venv
```
- Install the CUDA 11.8 Toolkit by following the instructions provided in [this link](https://developer.nvidia.com/cuda-11-8-0-download-archive?target_os=Linux&target_arch=x86_64).
- Install the CUDA 12.4 Toolkit by following the instructions provided in [this link](https://developer.nvidia.com/cuda-12-4-0-download-archive?target_os=Linux&target_arch=x86_64).
- Make sure you have Python version 3.10.9 or higher (but lower than 3.11.0) installed on your system.
Expand Down
3 changes: 2 additions & 1 deletion requirements_linux.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
torch==2.4.0+cu118 torchvision==0.19.0+cu118 xformers==0.0.27.post2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
torch==2.4.0+cu124 torchvision==0.19.0+cu124 --extra-index-url https://download.pytorch.org/whl/cu124
bitsandbytes==0.43.3
tensorboard==2.15.2 tensorflow==2.15.0.post1
onnxruntime-gpu==1.17.1
xformers==0.0.27.post2
-r requirements.txt
6 changes: 3 additions & 3 deletions requirements_pytorch_windows.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
torch==2.4.0+cu118 --index-url https://download.pytorch.org/whl/cu118
torchvision==0.19.0+cu118 --index-url https://download.pytorch.org/whl/cu118
xformers==0.0.27.post2+cu118 --index-url https://download.pytorch.org/whl/cu118
torch==2.4.0+cu124 --index-url https://download.pytorch.org/whl/cu124
torchvision==0.19.0+cu124 --index-url https://download.pytorch.org/whl/cu124
xformers==0.0.27.post2
3 changes: 2 additions & 1 deletion requirements_runpod.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
torch==2.1.2+cu118 torchvision==0.16.2+cu118 xformers==0.0.23.post1+cu118 --extra-index-url https://download.pytorch.org/whl/cu118 # no_verify leave this to specify not checking this a verification stage
torch==2.4.0+cu124 torchvision==0.19.0+cu124 --extra-index-url https://download.pytorch.org/whl/cu124 # no_verify leave this to specify not checking this a verification stage
bitsandbytes==0.43.3
tensorboard==2.14.1 tensorflow==2.14.0 wheel
tensorrt
onnxruntime-gpu==1.17.1
xformers==0.0.27.post2
-r requirements.txt
2 changes: 1 addition & 1 deletion setup/setup_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def install_kohya_ss_torch2(headless: bool = False):
# )

setup_common.install_requirements_inbulk(
"requirements_pytorch_windows.txt", show_stdout=True, optional_parm="--index-url https://download.pytorch.org/whl/cu118"
"requirements_pytorch_windows.txt", show_stdout=True, optional_parm="--index-url https://download.pytorch.org/whl/cu124"
)

setup_common.install_requirements_inbulk(
Expand Down

0 comments on commit cfc79b8

Please sign in to comment.