Nanmur opened a new pull request, #20394: URL: https://github.com/apache/tvm/pull/20394
## Summary - Skip the GPU fallback schedule rule when a PrimFunc contains a statically zero-extent loop. - Add a regression test for an elementwise `float32[4, 0]` function. This prevents Fallback from reaching inline/fuse transformations that construct invalid zero-extent index arithmetic. ## Testing - `python -m pytest tests/python/s_tir/dlight/test_gpu_fallback.py::test_fallback_skips_zero_extent_spatial -q` - `ruff check python/tvm/s_tir/dlight/gpu/fallback.py tests/python/s_tir/dlight/test_gpu_fallback.py` Fixes #20279 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
