"slow_conv2d_cpu" not implemented for 'Half' how to fix this? #792
-
I've followed this tutorial from the kohya_ss main page: https://www.youtube.com/watch?v=TpuDOsuKIBo it start the training then I get this error
bellow full output
is torch 2 btw EDIT: I've disabled the "Mixed Precision" in the Training Parameters tab and now it fails without giving a precise error, only this at the end:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
tried with torch 1. same issue RuntimeError: "slow_conv2d_cpu" not implemented for 'Half' |
Beta Was this translation helpful? Give feedback.
-
I fixed this by choosing 0 instead of 1 when asked which GPU card to use. what was confusing is that the Intel GPU is listed as GPU 0 and the Nvidia GPU is listed as 1 in windows. even worse is that when kohya_ss starts it identifies the correct GPU and you think you got it right. Instead either if you chose 0 or 1 it still show the correct GPU at startup but will fail to recognize that the GPU exist if you have chosen 1 in the setup To fix, run the setup again, chose same options as before, it should be a fast process as all things are already installed. then when asked which of the GPUs to use, insert 0. then the training will work. |
Beta Was this translation helpful? Give feedback.
I fixed this by choosing 0 instead of 1 when asked which GPU card to use.
what was confusing is that the Intel GPU is listed as GPU 0 and the Nvidia GPU is listed as 1 in windows.
even worse is that when kohya_ss starts it identifies the correct GPU and you think you got it right.
Instead either if you chose 0 or 1 it still show the correct GPU at startup but will fail to recognize that the GPU exist if you have chosen 1 in the setup
To fix, run the setup again, chose same options as before, it should be a fast process as all things are already installed. then when asked which of the GPUs to use, insert 0.
then the training will work.