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

相关推荐
屋外雨大,惊蛰出没2 小时前
Git基本应用
git
_Evan_Yao2 小时前
一文搞懂:Git分支管理与团队协作规范——从GitFlow到GitHub Flow,从rebase到merge,打造高效协作流
java·git·后端·github
憧憬成为java架构高手的小白3 小时前
git工作流程简化版
java·spring boot·git
东风微鸣4 小时前
Argo CD 用户管理:本地用户配置与权限分离实践
git·后端
袋子(PJ)6 小时前
2026最新GitHub发布项目全过程
git·github
许彰午6 小时前
Git实战——从零到团队协作以一个开源项目为例
git·开源
言6666 小时前
要忽略ider的文件在目录下 git暂存区消失
git
‎ദ്ദിᵔ.˛.ᵔ₎6 小时前
Git使用
git
小李不困还能学7 小时前
GitBash的保姆级安装教程
git
摆烂菜鸡沧9968 小时前
【自用整理】本地关联GitHub多账号设置
git·github