mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
support more backends
This commit is contained in:
@@ -26,7 +26,7 @@ def list_crossattention():
|
||||
|
||||
def get_pipelines():
|
||||
import diffusers
|
||||
from modules.olive import OlivePipeline
|
||||
from modules.olive import OnnxStableDiffusionPipeline, OlivePipeline
|
||||
from installer import log
|
||||
pipelines = { # note: not all pipelines can be used manually as they require prior pipeline next to decoder pipeline
|
||||
'Autodetect': None,
|
||||
@@ -39,7 +39,8 @@ def get_pipelines():
|
||||
'Stable Diffusion XL Img2Img': getattr(diffusers, 'StableDiffusionXLImg2ImgPipeline', None),
|
||||
'Stable Diffusion XL Inpaint': getattr(diffusers, 'StableDiffusionXLInpaintPipeline', None),
|
||||
'Stable Diffusion XL Instruct': getattr(diffusers, 'StableDiffusionXLInstructPix2PixPipeline', None),
|
||||
'ONNX Stable Diffusion (Olive)': OlivePipeline,
|
||||
'ONNX Stable Diffusion': OnnxStableDiffusionPipeline,
|
||||
'ONNX Stable Diffusion with Olive': OlivePipeline,
|
||||
'Latent Consistency Model': getattr(diffusers, 'LatentConsistencyModelPipeline', None),
|
||||
'PixArt Alpha': getattr(diffusers, 'PixArtAlphaPipeline', None),
|
||||
'UniDiffuser': getattr(diffusers, 'UniDiffuserPipeline', None),
|
||||
|
||||
Reference in New Issue
Block a user