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

相关推荐
春末的南方城市3 小时前
FLUX的ID保持项目也来了! 字节开源PuLID-FLUX-v0.9.0,开启一致性风格写真新纪元!
人工智能·计算机视觉·stable diffusion·aigc·图像生成
我算是程序猿7 小时前
用AI做电子萌宠,快速涨粉变现
人工智能·stable diffusion·aigc
AI绘画君11 小时前
Stable Diffusion绘画 | AI 图片智能扩充,超越PS扩图的AI扩图功能(附安装包)
人工智能·ai作画·stable diffusion·aigc·ai绘画·ai扩图
乔代码嘚14 小时前
AI2.0时代,普通小白如何通过AI月入30万
人工智能·stable diffusion·aigc
int WINGsssss14 小时前
Git使用
git
用户07605303543816 小时前
Git Revert:安全移除错误提交的方式
git
Good_Starry1 天前
Git介绍--github/gitee/gitlab使用
git·gitee·gitlab·github
肖遥Janic1 天前
Stable Diffusion绘画 | 插件-Deforum:动态视频生成(上篇)
人工智能·ai·ai作画·stable diffusion
云端奇趣1 天前
探索 3 个有趣的 GitHub 学习资源库
经验分享·git·学习·github
肖遥Janic1 天前
Stable Diffusion绘画 | 插件-Deforum:商业LOGO广告视频
人工智能·ai·ai作画·stable diffusion