The GitHub Actions job "Lint" on tvm.git/tvm-attrs-h-cleanup has failed.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
e33573bddc4f3639fbda1dfceb899cadf91cce67 / tqchen <[email protected]>
[REFACTOR][RELAX] Implement axis=None (flip all axes) for relax.flip

Address Gemini high-priority review on #19607: after migrating
FlipAttrs::axis to Optional<int64_t>, the existing call sites
unconditionally call attrs->axis.value(), which throws when axis is
nullopt. Implement the NumPy semantics — axis=None flips every axis —
so the optional field has a well-defined meaning instead of being a
landmine.

- InferStructInfoFlip handles missing axis (shape unchanged).
- InferLayoutFlip handles missing axis (layout preserved as-is).
- flip lowering generates a per-axis sequence of topi.flip calls
  when axis is missing (Option A, matches the single-axis TE pattern).
- Python wrapper defaults to axis=None.
- New tests: test_flip_infer_struct_info_axis_none and
  test_flip_axis_none (end-to-end execution against np.flip).

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

With regards,
GitHub Actions via GitBox


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

Reply via email to