Update readme.md

This commit is contained in:
liubomyr-lototskyi 2025-11-23 17:46:16 +02:00 committed by GitHub
parent b1623e3b40
commit 488e545e80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 2 deletions

View File

@ -1,9 +1,24 @@
thx lllyasviel for a basic Fooocus setup.
thx lllyasviel for a basic Fooocus version.
I noticed a rapidly growing trend where people are actively switching to RTX 5090, RTX 5070, 5080, etc., and suddenly realise that their familiar software does not work due to CUDA incompatibility. This applies to stable-diffusion-webui, fooocus, and a number of other popular programmes. What to do in this situation? Install CUDA 12.8, install library versions that support it, such as torch nightly, and compile packages yourself if they do not yet have native support for the Broadwell generation (RTX 50xx).
<h3>I noticed a rapidly growing trend where people are actively switching to RTX 5090, RTX 5070, 5080, etc., and suddenly realise that their familiar software does not work due to CUDA incompatibility.
This applies to stable-diffusion-webui, fooocus, and a number of other popular programmes. What to do in this situation? Install CUDA 12.8, install library versions that support it, such as torch nightly, and compile packages yourself if they do not yet have native support for the Broadwell generation (RTX 50xx).</h3>
What to do with portatives is more complicated.
After spending more than 20 hours testing different versions of CUDA, torch, torchvision, and various versions of wheels, I finally found a working setup.
<h1>Important: it works for me on RTX 5060TI 16GB, but I cannot guarantee that it will work on other 50x versions of NVIDIA.</h1>
Working combination:
Python: 3.12.10
ONNXRuntime GPU: onnxruntime-gpu==1.22.0 (whl: onnxruntime_gpu-1.22.0-cp312-cp312-win_amd64.whl)
CUDA: 12.2
cuDNN: 8.9.x (also dll-s should be send at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2\bin)
PATH written at bin and libnvvp CUDA
pip install torch==2.7.1+cu128 torchvision==0.22.1+cu128 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128