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

相关推荐
Sylus_sui5 小时前
Git快速创建并推送新分支
git
悠悠子衿121386 小时前
Claude+VSCODE配置git导致频繁弹出git bash 的CMO窗口解决方法
ide·git·vscode
QC七哥8 小时前
伪造git提交记录生成点阵字符
git·github
HilariousDog8 小时前
git仓库中克隆文件同时保存line history / 行提交历史的方法介绍
git
TimberWill8 小时前
GitHub Copilot 一键生成中文commit提示语规则设置
git·github
Blossom.1189 小时前
大模型AI Agent实战:ReAct框架从零实现与金融研报分析系统
人工智能·学习·react.js·stable diffusion·金融·aigc·知识图谱
A达峰绮9 小时前
从FP16到FP8:我是如何让Stable Diffusion 3.5提速40%而不丢画质的
人工智能·stable diffusion
Java后端的Ai之路10 小时前
【远程仓库】- 上传本地项目到远程仓库Gitee(码云)指南
git·gitee·ssh·仓库
tap.AI10 小时前
(二)Stable Diffusion 3.5硬件准备与环境配置 —— 低配显卡也能跑大模型
人工智能·stable diffusion
bj_zhb12 小时前
git reflog用法
大数据·linux·git·github