PARSE_RESIZE: only nearest and linear modes are supported
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 333
- Forks
- 150
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 54
Description
- MIGraphX commit: 431e714
- GPU: MI210 (gfx90a)
- ROCm version: 6.0.1
Model(s) to reproduce:
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_15_240_Opset16_timm/crossvit_15_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_15_240_Opset17_timm/crossvit_15_240_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_15_dagger_240_Opset16_timm/crossvit_15_dagger_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_15_dagger_240_Opset17_timm/crossvit_15_dagger_240_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_15_dagger_408_Opset16_timm/crossvit_15_dagger_408_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_15_dagger_408_Opset17_timm/crossvit_15_dagger_408_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_18_240_Opset16_timm/crossvit_18_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_18_240_Opset17_timm/crossvit_18_240_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_18_dagger_240_Opset16_timm/crossvit_18_dagger_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_18_dagger_240_Opset17_timm/crossvit_18_dagger_240_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_18_dagger_408_Opset16_timm/crossvit_18_dagger_408_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_18_dagger_408_Opset17_timm/crossvit_18_dagger_408_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_9_240_Opset16_timm/crossvit_9_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_9_240_Opset17_timm/crossvit_9_240_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_9_dagger_240_Opset16_timm/crossvit_9_dagger_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_9_dagger_240_Opset17_timm/crossvit_9_dagger_240_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_base_240_Opset16_timm/crossvit_base_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_base_240_Opset17_timm/crossvit_base_240_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_small_240_Opset16_timm/crossvit_small_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_small_240_Opset17_timm/crossvit_small_240_Opset17.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_tiny_240_Opset16_timm/crossvit_tiny_240_Opset16.onnx.log
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/crossvit_tiny_240_Opset17_timm/crossvit_tiny_240_Opset17.onnx.log
Fails at: /code/AMDMIGraphX/src/onnx/parse_resize.cpp:166: get_mode: PARSE_RESIZE: only nearest and linear modes are supported!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/onnx/parse_resize.cpp:166, especially get_mode, and reproduce the failure with one of the linked CrossViT ONNX models. Identify the resize mode those models request and trace the parser's handling of it. Done means the affected models no longer fail at this unsupported-mode error and existing resize behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100