flatten: Shapes are not in standard layout
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/convnext_base_384_in22ft1k_Opset16_timm/convnext_base_384_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_384_in22ft1k_Opset17_timm/convnext_base_384_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_384_in22ft1k_Opset18_timm/convnext_base_384_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_Opset16_timm/convnext_base_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_Opset16_torch_hub/convnext_base_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_Opset17_timm/convnext_base_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_Opset17_torch_hub/convnext_base_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_Opset18_timm/convnext_base_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_Opset18_torch_hub/convnext_base_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_in22ft1k_Opset16_timm/convnext_base_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_in22ft1k_Opset17_timm/convnext_base_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_in22ft1k_Opset18_timm/convnext_base_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_in22k_Opset16_timm/convnext_base_in22k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_in22k_Opset17_timm/convnext_base_in22k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_base_in22k_Opset18_timm/convnext_base_in22k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_384_in22ft1k_Opset16_timm/convnext_large_384_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_384_in22ft1k_Opset17_timm/convnext_large_384_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_384_in22ft1k_Opset18_timm/convnext_large_384_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_Opset16_timm/convnext_large_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_Opset16_torch_hub/convnext_large_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_Opset17_timm/convnext_large_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_Opset17_torch_hub/convnext_large_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_Opset18_timm/convnext_large_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_Opset18_torch_hub/convnext_large_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_in22ft1k_Opset16_timm/convnext_large_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_in22ft1k_Opset17_timm/convnext_large_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_in22ft1k_Opset18_timm/convnext_large_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_in22k_Opset16_timm/convnext_large_in22k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_in22k_Opset17_timm/convnext_large_in22k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_large_in22k_Opset18_timm/convnext_large_in22k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_nano_Opset16_timm/convnext_nano_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_nano_Opset17_timm/convnext_nano_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_nano_Opset18_timm/convnext_nano_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_nano_ols_Opset16_timm/convnext_nano_ols_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_nano_ols_Opset17_timm/convnext_nano_ols_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_nano_ols_Opset18_timm/convnext_nano_ols_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_384_in22ft1k_Opset16_timm/convnext_small_384_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_384_in22ft1k_Opset17_timm/convnext_small_384_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_384_in22ft1k_Opset18_timm/convnext_small_384_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_Opset16_timm/convnext_small_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_Opset16_torch_hub/convnext_small_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_Opset17_timm/convnext_small_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_Opset17_torch_hub/convnext_small_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_Opset18_timm/convnext_small_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_Opset18_torch_hub/convnext_small_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_in22ft1k_Opset16_timm/convnext_small_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_in22ft1k_Opset17_timm/convnext_small_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_in22ft1k_Opset18_timm/convnext_small_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_in22k_Opset16_timm/convnext_small_in22k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_in22k_Opset17_timm/convnext_small_in22k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_small_in22k_Opset18_timm/convnext_small_in22k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_384_in22ft1k_Opset16_timm/convnext_tiny_384_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_384_in22ft1k_Opset17_timm/convnext_tiny_384_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_384_in22ft1k_Opset18_timm/convnext_tiny_384_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_Opset16_timm/convnext_tiny_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_Opset16_torch_hub/convnext_tiny_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_Opset17_timm/convnext_tiny_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_Opset17_torch_hub/convnext_tiny_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_Opset18_timm/convnext_tiny_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_Opset18_torch_hub/convnext_tiny_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_hnf_Opset16_timm/convnext_tiny_hnf_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_hnf_Opset17_timm/convnext_tiny_hnf_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_hnf_Opset18_timm/convnext_tiny_hnf_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_in22ft1k_Opset16_timm/convnext_tiny_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_in22ft1k_Opset17_timm/convnext_tiny_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_in22ft1k_Opset18_timm/convnext_tiny_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_in22k_Opset16_timm/convnext_tiny_in22k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_in22k_Opset17_timm/convnext_tiny_in22k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_tiny_in22k_Opset18_timm/convnext_tiny_in22k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_384_in22ft1k_Opset16_timm/convnext_xlarge_384_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_384_in22ft1k_Opset17_timm/convnext_xlarge_384_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_384_in22ft1k_Opset18_timm/convnext_xlarge_384_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_in22ft1k_Opset16_timm/convnext_xlarge_in22ft1k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_in22ft1k_Opset17_timm/convnext_xlarge_in22ft1k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_in22ft1k_Opset18_timm/convnext_xlarge_in22ft1k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_in22k_Opset16_timm/convnext_xlarge_in22k_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_in22k_Opset17_timm/convnext_xlarge_in22k_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/convnext_xlarge_in22k_Opset18_timm/convnext_xlarge_in22k_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_small_Opset16_timm/edgenext_small_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_small_Opset17_timm/edgenext_small_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_small_Opset18_timm/edgenext_small_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_small_rw_Opset16_timm/edgenext_small_rw_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_small_rw_Opset17_timm/edgenext_small_rw_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_small_rw_Opset18_timm/edgenext_small_rw_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_x_small_Opset16_timm/edgenext_x_small_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_x_small_Opset17_timm/edgenext_x_small_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_x_small_Opset18_timm/edgenext_x_small_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_xx_small_Opset16_timm/edgenext_xx_small_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_xx_small_Opset17_timm/edgenext_xx_small_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/edgenext_xx_small_Opset18_timm/edgenext_xx_small_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_m36_Opset16_timm/poolformer_m36_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_m36_Opset17_timm/poolformer_m36_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_m36_Opset18_timm/poolformer_m36_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_m48_Opset16_timm/poolformer_m48_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_m48_Opset17_timm/poolformer_m48_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_m48_Opset18_timm/poolformer_m48_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s12_Opset16_timm/poolformer_s12_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s12_Opset17_timm/poolformer_s12_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s12_Opset18_timm/poolformer_s12_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s24_Opset16_timm/poolformer_s24_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s24_Opset17_timm/poolformer_s24_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s24_Opset18_timm/poolformer_s24_Opset18.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s36_Opset16_timm/poolformer_s36_Opset16.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s36_Opset17_timm/poolformer_s36_Opset17.onnx
- https://github.com/onnx/models/tree/ddbbd1274c8387e3745778705810c340dea3d8c7/Computer_Vision/poolformer_s36_Opset18_timm/poolformer_s36_Opset18.onnx
Fails at: /code/AMDMIGraphX/src/include/migraphx/check_shapes.hpp:253: standard: flatten: Shapes are not in standard layout
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 by reproducing the issue with the listed ConvNeXt ONNX models at MIGraphX commit 431e714 on an MI210 with ROCm 6.0.1. Trace how shape layouts are handled for these models and compare the observed layouts with the project's standard layout expectations. Done means the listed reproductions produce standard-layout shapes without regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100