Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running SD upscaling with txt2img #234

Closed
ssube opened this issue Mar 11, 2023 · 0 comments
Closed

error running SD upscaling with txt2img #234

ssube opened this issue Mar 11, 2023 · 0 comments
Labels
model/upscaling scope/api status/fixed issues that have been fixed and released type/bug broken features
Milestone

Comments

@ssube
Copy link
Owner

ssube commented Mar 11, 2023

2023-03-11 00:34:35.356624768 [W:onnxruntime:, session_state.cc:1138 VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignm
ents.                                                                                                                                                                           [2023-03-11 00:34:35,385] ERROR: onnx-web worker: cuda MainThread onnx_web.worker.worker: error while running job: ['Traceback (most recent call last):\n', '  File "/opt/onnx-w
eb/api/onnx_web/worker/worker.py", line 48, in worker_main\n    fn(context, *args, **kwargs)\n', '  File "/opt/onnx-web/api/onnx_web/diffusers/run.py", line 75, in run_txt2img_pipeline\n    image = run_upscale_correction(\n', '  File "/opt/onnx-web/api/onnx_web/upscale.py", line 77, in run_upscale_correction\n    return chain(\n', '  File "/opt/onnx-web/api/onnx_web/chain/base.py", line 140, in __call__\n    image = process_tile_order(\n', '  File "/opt/onnx-web/api/onnx_web/chain/utils.py", line 106, in process_tile_order\n    return process_tile_grid(source, tile, scale, filters, **kwargs)\n', '  File "/opt/onnx-web/api/onnx_web/chain/utils.py", line 39, in process_tile_grid\n    tile_image = 
filter(tile_image, (left, top, tile))\n', '  File "/opt/onnx-web/api/onnx_web/chain/base.py", line 125, in stage_tile\n    tile = stage_pipe(\n', '  File "/opt/onnx-web/api/onnx_web/chain/upscale_stable_diffusion.py", line 85, in upscale_stable_diffusion\n    pipeline = load_stable_diffusion(server, upscale, job.get_device())\n', '  File "/opt/onnx-w
eb/api/onnx_web/chain/upscale_stable_diffusion.py", line 39, in load_stable_diffusion\n    pipe = OnnxStableDiffusionUpscalePipeline.from_pretrained(\n', '  File "/opt/onnx-web
/api/onnx_env/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 965, in from_pretrained\n    model = pipeline_class(**init_kwargs)\n', '  File "/opt/onnx-web/api/onnx_web/diffusers/pipeline_onnx_stable_diffusion_upscale.py", line 80, in __init__\n    super().__init__(vae, text_encoder, tokenizer, unet, low_res_scheduler, sched
uler, max_noise_level)\n', '  File "/opt/onnx-web/api/onnx_env/lib/python3.10/site-packages/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py", line 93,
 in __init__\n    hasattr(vae.config, "scaling_factor") and vae.config.scaling_factor == 0.08333\n', "AttributeError: 'OnnxRuntimeModel' object has no attribute 'config'\n"]
@ssube ssube added status/new issues that have not been confirmed yet type/bug broken features labels Mar 11, 2023
@ssube ssube added this to the v0.8 milestone Mar 11, 2023
@ssube ssube mentioned this issue Mar 11, 2023
99 tasks
@ssube ssube added scope/api model/upscaling status/fixed issues that have been fixed and released and removed status/new issues that have not been confirmed yet labels Mar 11, 2023
@ssube ssube closed this as completed Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model/upscaling scope/api status/fixed issues that have been fixed and released type/bug broken features
Projects
None yet
Development

No branches or pull requests

1 participant