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

相关推荐

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-04 06:40:01       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-04 06:40:01       100 阅读
  3. 在Django里面运行非项目文件

    2024-02-04 06:40:01       82 阅读
  4. Python语言-面向对象

    2024-02-04 06:40:01       91 阅读

热门阅读

  1. STM32的ADC采集传感器的模拟量数据

    2024-02-04 06:40:01       48 阅读
  2. 理解进位计数制:基数和位权

    2024-02-04 06:40:01       48 阅读
  3. PHP基于文本的简易搜索引擎

    2024-02-04 06:40:01       35 阅读
  4. 大数据领域的数据仓库

    2024-02-04 06:40:01       45 阅读
  5. 软考笔记--数据仓库技术

    2024-02-04 06:40:01       30 阅读
  6. ROS2 CMakeLists.txt 和 package.xml

    2024-02-04 06:40:01       48 阅读
  7. SpringBoot整理-安全(Spring Security)

    2024-02-04 06:40:01       43 阅读
  8. aspose-words字体替换功能2

    2024-02-04 06:40:01       46 阅读
  9. GoogleTest 单元测试

    2024-02-04 06:40:01       46 阅读