mshr-h opened a new pull request, #18918: URL: https://github.com/apache/tvm/pull/18918
Fixes two issues when translating PyTorch models with dynamic shapes: 1. **_slice**: Resolve `fx.Node` references in start/end/step arguments and detect identity slices where the symbolic end equals the tensor dimension (avoids redundant `strided_slice` ops). 2. **_expand**: Fall back to FX node metadata when `shape_of()` returns `None` for tensors with unknown shapes. -- 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]
