tqchen opened a new pull request, #19623: URL: https://github.com/apache/tvm/pull/19623
## Summary Two small deletions surfaced during the `tvm.contrib` audit: - `tvm.contrib.spirv` had a single `optimize()` function shelling out to `spirv-opt`. Zero importers across `python/` and `tests/`; the only reference was the autodoc block in `docs/reference/api/python/contrib.rst`, which is removed alongside. - `tvm.contrib.rpc` was already a deprecation shim re-exporting `tvm.rpc` symbols with a `DeprecationWarning` banner reading "going to be removed in 0.5". Honor the banner and remove. ## Files - delete: `python/tvm/contrib/spirv.py` - delete: `python/tvm/contrib/rpc.py` - modify: `docs/reference/api/python/contrib.rst` (drop the `tvm.contrib.spirv` automodule block) ## Test plan - [x] `git grep -nE 'tvm\.contrib\.(spirv|rpc)'` — empty. - [x] `import tvm.contrib` still succeeds. - [x] `pre-commit run --all-files` clean. -- 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]
