mirror of https://github.com/skygpu/skynet.git
add param for stablexl
parent
bcb499448e
commit
ae348c7c6f
|
@ -77,6 +77,10 @@ def pipeline_for(model: str, mem_fraction: float = 1.0, image=False) -> Diffusio
|
||||||
'safety_checker': None
|
'safety_checker': None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if model == 'snowkidy/stable-diffusion-xl-base-0.9':
|
||||||
|
# TODO: figure out what this does
|
||||||
|
params['addition_embed_type'] = None
|
||||||
|
|
||||||
if model == 'runwayml/stable-diffusion-v1-5':
|
if model == 'runwayml/stable-diffusion-v1-5':
|
||||||
params['revision'] = 'fp16'
|
params['revision'] = 'fp16'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue