20240203在WIN10下使用GTX1080配置stable-diffusion-webui.git不支持float16精度出错的处理

20240203在WIN10下使用GTX1080配置stable-diffusion-webui.git不支持float16精度出错的处理

    正在检查是否收录...

20240203在WIN10下使用GTX1080配置stable-diffusion-webui.git不支持float16精度出错的处理
2024/2/3 21:23


缘起:最近学习stable-diffusion-webui.git,在Ubuntu20.04.6下配置SD成功。
不搞精简版本:Miniconda了。直接上Anacoda!

打开stable-diffusion-webui.git的时候报错:
webui.bat
webui-user.bat
双击打开升级软件/包之后都会报错!


NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.

Z:\stable-diffusion-webui\webui-user.bat
@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=

call webui.bat


\\192.168.186.230\rootroot\media\rootroot\WIN10\stable-diffusion-webui\webui-user.bat
@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--no-half --disable-nan-check

call webui.bat


参考资料:
https://www.bilibili.com/read/cv28450517/?jump_opus=1
StableDiff SDXL的图生图解决方案NaNs was produced


https://blog.csdn.net/weixin_48096142/article/details/132604841
Stable Diffusion ubuntu 部署,问题记录


https://blog.csdn.net/mhack5200/article/details/132579690
NansException: A tensor with all NaNs was produced in Unet. This could be either because there‘s not


https://www.lskyf.com/post/258?action=btnFullClick
stable duffusion NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough pre

webuiwebdiffusiongitstable diffusionpython2024图生图解决方案cliideaction参考资料sdxliconfix
  • 本文作者:李琛
  • 本文链接: https://wapzz.net/post-12577.html
  • 版权声明:本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。
本站部分内容来源于网络转载,仅供学习交流使用。如涉及版权问题,请及时联系我们,我们将第一时间处理。
文章很赞!支持一下吧 还没有人为TA充电
为TA充电
还没有人为TA充电
0
  • 支付宝打赏
    支付宝扫一扫
  • 微信打赏
    微信扫一扫
感谢支持
文章很赞!支持一下吧
关于作者
2.3W+
5
0
1
WAP站长官方

ai智能写作max绘画功能怎么使用?

上一篇

文心一言指令词宝典之生活篇

下一篇
  • 复制图片
按住ctrl可打开默认菜单