Training textual inversion [Epoch 99: 1/1] loss: 0.1027512: 1%| | 99/8000 [02:Traceback (most recent call last):
File "/storage/stable-diffusion/stable-diffusion-webui/extensions/custom-diffusion-webui/cd_modules/custom_diffusion.py", line 231, in _train_embedding
save_deltas(last_saved_delta)
File "/storage/stable-diffusion/stable-diffusion-webui/extensions/custom-diffusion-webui/cd_modules/custom_diffusion.py", line 154, in save_deltas
delta = Delta(tensors={k: kvs[k] - kvs_bak[k] for k in kvs})
File "/storage/stable-diffusion/stable-diffusion-webui/extensions/custom-diffusion-webui/cd_modules/custom_diffusion.py", line 154, in
delta = Delta(tensors={k: kvs[k] - kvs_bak[k] for k in kvs})
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
Any help with this issue? when trying to save in log dir it fails
Training textual inversion [Epoch 99: 1/1] loss: 0.1027512: 1%| | 99/8000 [02:Traceback (most recent call last): File "/storage/stable-diffusion/stable-diffusion-webui/extensions/custom-diffusion-webui/cd_modules/custom_diffusion.py", line 231, in _train_embedding save_deltas(last_saved_delta) File "/storage/stable-diffusion/stable-diffusion-webui/extensions/custom-diffusion-webui/cd_modules/custom_diffusion.py", line 154, in save_deltas delta = Delta(tensors={k: kvs[k] - kvs_bak[k] for k in kvs}) File "/storage/stable-diffusion/stable-diffusion-webui/extensions/custom-diffusion-webui/cd_modules/custom_diffusion.py", line 154, in
delta = Delta(tensors={k: kvs[k] - kvs_bak[k] for k in kvs})
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
Any help with this issue? when trying to save in log dir it fails