The GitHub Actions job "Nightly Docker Update" on tvm.git/main has failed. Run started by GitHub user areusch (triggered by areusch).
Head commit for run: 7e6165e8962cb2d8bf9f5d0709e56db635378e6c / Dayuxiaoshui <[email protected]> Fix BufferError when converting PyTorch models with sparse tensors (#18492) This commit fixes issue #18474 by adding support for sparse tensor conversion in the PyTorch ExportedProgram importer. The fix automatically detects sparse tensors (non-strided layout) and converts them to dense tensors before DLPack conversion. Changes: - Add _convert_pytorch_tensor_to_tvm() static method to handle sparse tensor detection and conversion - Automatically convert sparse tensors to dense using .to_dense() before DLPack conversion - Update parameter/buffer/constant binding to use the new conversion method - Update parameter handling to use the new conversion method The fix ensures that PyTorch models containing sparse tensors can be successfully converted to TVM Relax modules without raising BufferError. Fixes #18474 Report URL: https://github.com/apache/tvm/actions/runs/19619277308 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
