Skip to content

Commit

Permalink
onnx fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Jun 5, 2024
1 parent 2c29feb commit 73a4e8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file added models/ONNX/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions modules/shared_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@
options_templates.update(options_section(('onnx', "ONNX Runtime", "sd"), {
"onnx_enable": OptionInfo(False, 'Use ONNX Runtime instead of PyTorch implementation'),
"diffusers_pipeline": OptionInfo('ONNX Stable Diffusion', 'Diffusers pipeline', gr.Dropdown, lambda: {"choices": list(shared_items.get_pipelines())}),
"diffusers_vae_upcast": OptionInfo("default", "VAE upcasting", gr.Radio, {"choices": ['default', 'true', 'false']}),
"onnx_execution_provider": OptionInfo(get_default_execution_provider().value, 'Execution Provider', gr.Dropdown, lambda: {"choices": available_execution_providers }),
"onnx_cache_converted": OptionInfo(True, 'ONNX cache converted models'),

Expand Down

0 comments on commit 73a4e8c

Please sign in to comment.