mirror of https://github.com/bmaltais/kohya_ss
Move cudnn out of requirements
parent
eb9d7bce05
commit
3be05253bb
|
|
@ -1,5 +1,4 @@
|
|||
torch==2.1.2+cu118 torchvision==0.16.2+cu118 torchaudio==2.1.2+cu118 xformers==0.0.23.post1+cu118 --index-url https://download.pytorch.org/whl/cu118
|
||||
nvidia-cudnn-cu11==8.9.5.29
|
||||
bitsandbytes==0.43.0
|
||||
tensorboard==2.14.1 tensorflow==2.14.0
|
||||
-r requirements.txt
|
||||
|
|
|
|||
|
|
@ -15,6 +15,13 @@ RESET_COLOR = "\033[0m"
|
|||
|
||||
|
||||
def cudnn_install():
|
||||
log.info("Installing nvidia-cudnn-cu11 8.9.5.29...")
|
||||
setup_common.install(
|
||||
"--upgrade nvidia-cudnn-cu11==8.9.5.29",
|
||||
"nvidia-cudnn-cu11 8.9.5.29",
|
||||
reinstall=True,
|
||||
)
|
||||
|
||||
# Original path with "..\\venv"
|
||||
original_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..\\venv\\Lib\\site-packages\\nvidia\\cudnn\\bin")
|
||||
# Normalize the path to resolve "..\\venv"
|
||||
|
|
|
|||
Loading…
Reference in New Issue