The GitHub Actions job "Lint" on tvm.git/cleanup-audit-immediate-items has 
succeeded.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
b93f9e48e6dbfa5e02e84a5b29c6af60dc7abaff / tqchen <[email protected]>
[REFACTOR] Remove redundant defensive code guaranteed by IR invariants

Cleanup pass that relies on IR invariants instead of re-checking
already-guaranteed conditions:

- python_doc_printer: the ExprStringDoc escape scope always wraps the
  printer's in-memory ostringstream sink, which never short-writes and
  never enters a fail state. Drop the streambuf-general short-write
  reporting, the good()/rdstate/setstate guards, and the redundant
  post-render good() ICHECK; keep the one-line saw_newline() contract.
- relax well_formed / block_builder: the ty diagnostics test
  ty.IsMissing() on a now non-nullable Type, so word them as "is missing".
- relax numeric-gradient tests: derive the device from the build target
  via tvm.device_from_target inside the helpers instead of threading a
  redundant dev argument that duplicates the target at every call site,
  and annotate the numpy inputs as np.ndarray.
- target/printer tests: drop assertions that re-check a condition an
  earlier assertion in the same test already guarantees.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to