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:
f8471f820a121e9d20ab56f5f26139b461f9afea / Guan-Ming (Wesley) Chiu 
<[email protected]>
[Relax][PyTorch] Add decomposed operator support for Pad (#18449)

## Related Issue

- https://github.com/apache/tvm/pull/18401

## Why

- When run_ep_decomposition=True is enabled, PyTorch decomposes pad
operators into lower-level operations:
  - Constant mode → `constant_pad_nd.default`
  - Reflect/Replicate modes → `index.Tensor` with None indices
  - Circular mode → `copy.default` and `slice` operations
- Some of the decomposed operators were not supported, causing failures

## How

- Added support for `constant_pad_nd.default` and `copy.default`
operator
- Fixed `_index_tensor` to handle None indices by:
- Using `take` operation when only one dimension is indexed
(optimization)
  - Converting `None` to explicit `arange` for general cases
- Updated test_pad to use run_ep_decomposition=True

Report URL: https://github.com/apache/tvm/actions/runs/19380927099

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to