본문 바로가기
AI/AI 이미지

[stable diffusion webui]TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead. error -solved

by Mr.noobiest 2023. 11. 29.

 

모델 변경시 에러 발생

새로운 .safetensors 모델을 넣어주고, webui를 다시 실행 시켜준뒤, 모델을 변경했는데 저런 에러가 발생하였다.

 

TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.

 

 

빠른 해결

1) 실행된 webui > Settings > Stable Diffusion > CPU로  변경 후  > Apply settings

webui

 


 

2) 이후 Ctrl+C로  webui.sh를 종료한 뒤 다시 실행하면 된다.

 

그래도 안될경우 껏다  켰다를 반복하면 고쳐지기도 한다.

 

끝.

 

728x90
반응형