kohya-ss / sd-scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An error occurred while training sd1.5 controlnet using train_controlnet.py

BEBC-MIA opened this issue · comments

I encountered the following error while training SD1.5 ControlNet using train_controlnet.py: “RuntimeError: Expected is_sm80 || is_sm90 to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.)”

Interestingly, I was able to train LoRA using train_network.py without any issues.

I run the scripts in cuda11.8 and pytorch 2.1.2.