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

相关推荐
imDwAaY3 小时前
6篇文章讲清楚Git:Git 远程协作:fetch、pull、push 到底有什么区别?(3/6)
git·后端
imDwAaY3 小时前
6篇文章讲清楚Git:Git 撤销与恢复:reset、revert、restore 应该怎么选?(4/6)
git
用户73309646123093 小时前
再也不怕手滑丢代码!给 git 高危操作加一层安全校验
git
广白4 小时前
Git Tag 实战:从出包追溯到版本发布
前端·git·面试
Winlifes6 天前
我给 Codex 做了一个 Git 面板:分支树、提交历史和工作区操作
git
AIGC小尼6 天前
本地AI漫剧部署|低配8G显存实战部署MiniMax-H3|4步极速采样+低显存优化完整方案(可角色替换/视频魔改)
人工智能·stable diffusion·comfyui·ai漫剧
郑州光合科技余经理6 天前
同城外卖小程序开发:下单成功后,后台导出能不能对上用户端状态
开发语言·前端·git·后端·uni-app·php·ai编程
我命由我123456 天前
Git 推送报错:error: src refspec main does not match any
运维·git·gitee·github·运维开发·学习方法·版本控制
Lcr3s7 天前
Git基础之(0):如何在Ubuntu(Linux)上安装git
git
玄芯散人7 天前
【筑基·058】Git协作工作流:冲突解决和PR流程
git·版本控制·团队协作