stable-diffusion-webui-amdgpu icon indicating copy to clipboard operation
stable-diffusion-webui-amdgpu copied to clipboard

Fix ONNX init

Open awsr opened this issue 2 months ago • 0 comments

ORTPipelinePart was only used from optimum versions 1.23.0 through 1.25.3

Description

  • Fixes ONNX initialization module 'optimum.onnxruntime.modeling_diffusion' has no attribute 'ORTPipelinePart'
  • Added a version check so that the import is only performed when using a version that utilized it.
  • Fix initially made for https://github.com/lshqqytiger/stable-diffusion-webui-amdgpu-forge/issues/106 but it also affects this version.

Checklist:

awsr avatar Sep 29 '25 01:09 awsr