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

相关推荐
艺杯羹34 分钟前
Git入门基础:从概念到安装的完整指南
git·elasticsearch·开发工具·版本控制·git入门·代码托管
不断学习加努力39 分钟前
git代码管理的一些基础知识
git
Java后端的Ai之路2 小时前
【Git版本控制】-趣味解说Git核心知识
大数据·git·elasticsearch
是店小二呀2 小时前
Git 分支核心指南:原理、合并策略与实战技巧
git
Allen_LVyingbo2 小时前
医疗大模型预训练:从硬件选型到合规落地实战(2025总结版)
开发语言·git·python·github·知识图谱·健康医疗
亚林瓜子12 小时前
git使用远程分支覆盖本地分支
git·master
我不是8神15 小时前
git知识点总结
git
Greg_Zhong18 小时前
Git建立本地与远程仓库的连接,简洁版
git·本地与远程连接
小猪咪piggy19 小时前
【工具】Git 和小乌龟安装与使用
git
二进制coder20 小时前
Git 实操:已Push的Commit能否重新Push?答案与规范全解析
git