0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

0
Posted at

モデルの HimawariMixs を使おうとして WebUI で「Generate」を押したらエラーになって画像生成できませんでした

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

Gemini にこのページ↓を要約してもらったところ、安定している標準的なモデル(例:v1-5-pruned-emaonly.safetensors)に切り替えてから、再度使いたいモデル(HimawariMix など)に戻すと、なぜかエラーが消えるという報告があるとこのことだったので、そのようにしました


↓モデルを切り替えて戻す

image.png

無事生成できました

image.png


私は解決まで色々試したので、有効かわかりませんが、
webui-user.sh の COMMANDLINE_ARGS に --no-half --precision full を追加でも解決できるとのことでした

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?