当前位置: 首页 > article >正文

LLMS-Stable diffusion 报错 index out of bounds

问题:Stable diffusion 报错 index out of bounds

  • 1、先看日志
  • 2、问题原因
  • 3、解决方法
    • 3-1:cmd键入命令查看本机CUDA版本
  • 4、安装过程

1、先看日志

这个错一般是在同学使用Stable diffusion时,文生视频的操作中爆出来了。

2024-10-19 21:15:04,709 - AnimateDiff - INFO - AnimateDiff process start.
2024-10-19 21:15:04,710 - AnimateDiff - INFO - Loading motion module mm_sd_v15_v2.ckpt from H:\AI\sd-webui-aki-v4.9.7\extensions\sd-webui-animatediff\model\mm_sd_v15_v2.ckpt
2024-10-19 21:15:06,367 - AnimateDiff - INFO - Guessed mm_sd_v15_v2.ckpt architecture: MotionModuleType.AnimateDiffV2
2024-10-19 21:15:10,580 - AnimateDiff - INFO - Injecting motion module mm_sd_v15_v2.ckpt into SD1.5 UNet middle block.
2024-10-19 21:15:10,580 - AnimateDiff - INFO - Injecting motion module mm_sd_v15_v2.ckpt into SD1.5 UNet input blocks.
2024-10-19 21:15:10,580 - AnimateDiff - INFO - Injecting motion module mm_sd_v15_v2.ckpt into SD1.5 UNet output blocks.
2024-10-19 21:15:10,580 - AnimateDiff - INFO - Setting DDIM alpha.
2024-10-19 21:15:10,591 - AnimateDiff - INFO - Injection finished.
2024-10-19 21:15:10,591 - AnimateDiff - INFO - AnimateDiff + ControlNet will generate 16 frames.
2024-10-19 21:15:12,926 - AnimateDiff - INFO - inner model forward hooked
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [32,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [33,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [34,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [35,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [36,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [37,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [38,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [39,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [40,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [41,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [837,0,0], thread: [42,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.
C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [83

http://www.kler.cn/news/361530.html

相关文章:

  • 《黑神话悟空》各章节boss顺序汇总
  • Spring MVC文件请求处理-MultipartResolver
  • 如何在Linux中找到MySQL的安装目录
  • 特种设备作业电梯维修作业
  • 【自然语言处理】GPT模型
  • element-plus 官方表格排序问题
  • Shell 脚本从入门到精通:全面指南与学习资源
  • 中小型医院网站:Spring Boot框架实践
  • CZX前端秘籍3
  • Go 语言的数据类型转换有哪些?
  • Gee引擎配置微端后登录游戏黑屏怎么办?
  • GEE传奇服务端中自定义颜色文字发送脚本教程
  • 51单片机记录
  • linux-xshell 云服务器的登陆
  • 单片机中断概念以及示例
  • Vue 字符串常用方法
  • 未来的梦想
  • 大数据-184 Elasticsearch - 原理剖析 - DocValues 机制原理 压缩与禁用
  • sql-labs靶场第十八关测试报告
  • SpringCloud无介绍快使用,单机Eureka服务注册中心cloud-eureka-server7001搭建(十)
  • 深入解析TableRAG:突破大规模表格检索的瓶颈
  • ECharts饼图-饼图纹理,附视频讲解与代码下载
  • C++左值和右值
  • C# 里接口(Interface)应用说明
  • 服务器文件夹挂载到客户端
  • 修复Oracle MySQL Server 安全漏洞(CVE-2023-0464)