You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by GitBox <gi...@apache.org> on 2026/06/18 19:24:58 UTC
[GH] (tvm/main): Workflow run "Lint" failed!
The GitHub Actions job "Lint" on tvm.git/main has failed.
Run started by GitHub user tlopex (triggered by tlopex).
Head commit for run:
da52d7d0f62e2831212763189870caf447c85bb0 / Matt Van Horn <mv...@users.noreply.github.com>
fix: Support 5D volumetric inputs in ONNX GridSample frontend converter (#19816)
## Summary
The Relax ONNX frontend's GridSample._impl_v16 converter unconditionally
permutes the grid from ONNX [N,H,W,2] to TVM [N,2,H,W] and calls
image.grid_sample with layout="NCHW". For 5D volumetric inputs
([N,C,D,H,W] with grid [N,D,H,W,3]) this crashes at permute_dims with an
InternalError ('PermuteDims expects the number of input axes to equal
the ndim of the input tensor.
## Changes
In GridSample._impl_v16, read data.struct_info.ndim and dispatch on
rank. For ndim==4, keep the existing permute_dims(grid,[0,3,1,2]) +
grid_sample(layout="NCHW").
Fixes #19688
---------
Co-authored-by: Matt Van Horn <45...@users.noreply.github.com>
Report URL: https://github.com/apache/tvm/actions/runs/27783908246
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org