【问题标题】:Setting Up Stable Diffusion for an AMD Graphics Card on Windows 10在 Windows 10 上为 AMD 显卡设置稳定扩散
【发布时间】:2023-02-22 02:42:29
【问题描述】:

我正在尝试设置 Stable Diffusion,但我有 AMD 显卡。 Stable Diffusion 的每个第 3 方 GUI 现在只与 NVIDIA 卡兼容,所以我必须走很长的路要走。

我正在学习本教程:https://www.travelneil.com/stable-diffusion-windows-amd.html

我完成了所有设置(并非没有困难),并进入了“运行稳定扩散”步骤。我到达了我只需要运行程序的部分,它应该吐出一个图像。相反,当我尝试运行代码时,我得到以下输出。

onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException:
[ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code 
returned while running InstanceNormalization node. 
Name:'/down_blocks.0/resnets.0/norm1/InstanceNormalization' Status 
Message: 
D:\a\_work\1\s\onnxruntime\core\providers\dml\DmlExecutionProvider\src\MLOpe ratorAuthorImpl.cpp(1857)\onnxruntime_pybind11_state.pyd!00007FFAC15719AA: (caller: 00007FFAC1572FAF) Exception(3) tid(321c) 80070057 The parameter is incorrect.

我充其量只是一个业余编码员。到目前为止,我遇到的每一个问题,我都能够以某种方式处理,但这有点让我头疼。这是什么意思,我该如何解决?

提前致谢!

【问题讨论】:

  • 你解决了吗?我遇到了同样的错误。我认为这是 DirectML onnxruntime 的错误???
  • 自发布此消息以来,我还没有真正尝试过。我今晚再试一次。
  • 我想你可能需要最新的 DirectML.dll
  • @zooby 我们如何更新 DirectML?我做了一些谷歌搜索,但找不到任何信息?只能通过 Windows 更新吗?
  • 您可以获得最新的 nuget 包。

标签: python windows artificial-intelligence amd-gpu stable-diffusion


【解决方案1】:

好吧,经过一段时间的尝试,我终于放弃了。幸运的是,现在有可用的 Stable Diffusion GUI,所以我只下载了这个:

https://nmkd.itch.io/t2i-gui

扩散快乐!

【讨论】:

    猜你喜欢
    • 2022-11-18
    • 2022-11-03
    • 2022-12-19
    • 2022-11-11
    • 2022-11-14
    • 1970-01-01
    • 2022-11-11
    • 2020-10-02
    • 2022-12-31
    相关资源
    最近更新 更多