kohya-ss / kohya-ss/sd-scripts

CUDA Setup failed despite GPU being available

Open
#873 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

### **1. I experienced this error since i tried to train the Lora myself.**
train01
train02

**### 2.To solve this issue, I tried to reinstall the cuda V11.8 and made sure it matching with pytorch**
nvcc
torch_cuda

### **3.Also tried the solution provided by bitsandbytes**
byte01

4.Adding cuda path variable method is also proved useless
Any idea to solve this tricky issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the CUDA, PyTorch, and bitsandbytes details shown in the issue screenshots and reproduce the LoRA training setup. Check whether the available GPU is detected during training; done means the CUDA setup succeeds and training starts without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.