[ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: images for the following indices
Hi there,
Please see this error that only occurs when using more than 10 steps. I've tested it with various checkpoint models, and they all show the same error when more than 10 steps are used.
When using fewer than 10 steps, this error message does not appear. Please take a look at this minor issue when you can.
Your SDForge is amazing; it just seems to need a few minor adjustments.
Best regards from Brazil!
Issue Solved I have removed the arg --always-gpu from webui-user.bat and problem solved See my console log:
SD Forge PATH: F:\SDForge\webui Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: f1.0.2v1.10.1-previous-47-gf052fabd Commit hash: f052fabd4ddc9bebe73ed8fa24cccb1dc9b400ad CUDA 12.1 Launching Web UI with arguments: --xformers --xformers-flash-attention --precision full --opt-split-attention --always-batch-cond-uncond --no-half --skip-torch-cuda-test --pin-shared-memory --cuda-malloc --cuda-stream Using cudaMallocAsync backend. Total VRAM 8191 MB, total RAM 32705 MB WARNING:xformers:A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' xformers version: 0.0.23.post1 Set vram state to: NORMAL_VRAM Always pin shared GPU memory Device: cuda:0 NVIDIA GeForce RTX 3050 : cudaMallocAsync VAE dtype: torch.bfloat16 CUDA Stream Activated: True Using xformers cross attention Using xformers cross attention ControlNet preprocessor location: F:\SDForge\webui\models\ControlNetPreprocessor [-] ADetailer initialized. version: 24.6.0, num models: 10 sd-webui-prompt-all-in-one background API service started successfully. 21:32:13 - ReActor - STATUS - Running v0.7.1-a1 on Device: CUDA Loading weights [c8df560d29] from F:\SDForge\webui\models\Stable-diffusion\Juggernaut-XL-v9-RDPhoto-v2-L.safetensors model_type EPS UNet ADM Dimension 2816 2024-07-30 21:32:17,455 - ControlNet - INFO - ControlNet UI callback registered. Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True in launch().
IIB Database file has been successfully backed up to the backup folder.
Startup time: 32.3s (prepare environment: 7.6s, launcher: 2.2s, import torch: 3.5s, setup paths: 0.8s, initialize shared: 0.1s, other imports: 0.8s, opts onchange: 0.5s, load scripts: 4.4s, create ui: 7.6s, gradio launch: 3.1s, app_started_callback: 1.4s).
Sorry for the inconvenience Best regards from Brazil!
Sorry again...