The GitHub Actions job "CI" on tvm.git/main has succeeded. Run started by GitHub user tlopex (triggered by tlopex).
Head commit for run: 59c14f6d45a961a5384a7f40e52e58d2c83ea343 / Kryptonite <[email protected]> [Relax][ONNX] Add GridSample ONNX frontend integration (#18932) ### Summary - Implements ONNX `GridSample` frontend integration for Relax, which was previously commented out in the converter map. - Adds `GridSample` converter class that handles ONNX→TVM grid shape transpose (`[N, H_out, W_out, 2]` → `[N, 2, H_out, W_out]`) and mode/padding attribute mapping. - Reuses the existing `grid_sample` Relax op (`relax.op.image.grid_sample`), which already exists, keeping the change minimal and focused on the frontend layer. - Adds tests covering all supported mode/padding_mode/align_corners combinations. Closes part of #18928 ### Notes for Maintainers The ONNX spec defines the default mode as `"linear"`, but onnxruntime only accepts `"bilinear"`. I've set the converter default to `"bilinear"` — happy to add a `"linear"` → `"bilinear"` translation if needed for spec compliance. (**Edit: This was addressed**) ### Test Plan ```bash python3 -m pytest -q tests/python/relax/test_frontend_onnx.py -k 'grid_sample' ``` --------- Signed-off-by: OmarAzizi <[email protected]> Report URL: https://github.com/apache/tvm/actions/runs/23571248273 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
