Commit 94a8ffc3 authored by Your Name's avatar Your Name

fix: remove unsupported model_type and backend params

These parameters are not available in the installed version of
stable-diffusion-cpp-python. The engine will auto-detect the
architecture from file headers.
parent 1f9937fd
...@@ -4744,9 +4744,6 @@ def main(): ...@@ -4744,9 +4744,6 @@ def main():
if t5xxl_path: if t5xxl_path:
sd_kwargs['t5xxl_path'] = t5xxl_path sd_kwargs['t5xxl_path'] = t5xxl_path
# Add model_type and backend for stable-diffusion-cpp-python
sd_kwargs['model_type'] = 'z-image'
sd_kwargs['backend'] = 'vulkan'
# Add generation parameters from CLI args # Add generation parameters from CLI args
# sd_kwargs['sample_method'] = args.image_sample_method # Not valid for __init__ # sd_kwargs['sample_method'] = args.image_sample_method # Not valid for __init__
...@@ -5239,9 +5236,6 @@ def main(): ...@@ -5239,9 +5236,6 @@ def main():
if t5xxl_path: if t5xxl_path:
sd_kwargs['t5xxl_path'] = t5xxl_path sd_kwargs['t5xxl_path'] = t5xxl_path
# Add model_type and backend for stable-diffusion-cpp-python
sd_kwargs['model_type'] = 'z-image'
sd_kwargs['backend'] = 'vulkan'
# Add generation parameters from CLI args # Add generation parameters from CLI args
# sd_kwargs['sample_method'] = args.image_sample_method # Not valid for __init__ # sd_kwargs['sample_method'] = args.image_sample_method # Not valid for __init__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment