sd-scripts icon indicating copy to clipboard operation
sd-scripts copied to clipboard

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

Open BEBC-MIA opened this issue 7 months ago • 0 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.

BEBC-MIA avatar Jun 30 '24 10:06 BEBC-MIA