ROCm / ROCm/AMDMIGraphX

migraphx-driver params error

Open
#4,091 0 comments 0 reactions 1 assignee View on GitHub

@aarushjain29 is already working on this.

Since Jun 23, 2025.

Dominant language
C++
Stars
333
Forks
150
Avg merge
4d 19h
Merged PRs (30d)
54

Description

### Problem Description
When attempting to retrieve the input shapes for specific models (e.g., sd3_medium) via the command line using params, an exception is raised due to wrong parameters used for few models.

# migraphx-driver params /models/sd3_medium/vae_decoder/model.onnx

terminate called after throwing an instance of 'migraphx::version_2_13_0::exception'
  what():  /code/AMDMIGraphX/src/include/migraphx/op/convolution.hpp:100: normalize_compute_shape: CONVOLUTION: mismatched channel numbers
Aborted (core dumped)

The ONNX model requires specific input shapes to be supplied through arguments (--input-dim) for successful parsing, but you need to know these shapes first to provide the correct inputs, resulting in a catch-22 situation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.