tqchen opened a new pull request, #18844: URL: https://github.com/apache/tvm/pull/18844
## Summary This PR removes four categories of legacy indirection in TVM's node/runtime layer: - Remove dead `include/tvm/runtime/packed_func.h` includes and delete the vestigial header - Move `src/node/attr_registry.h` to `src/ir/attr_registry.h` where it logically belongs - Remove `include/tvm/node/serialization.h` and `include/tvm/ir/serialization.h`, replacing `tvm::SaveJSON`/`tvm::LoadJSON` with direct `ffi::ToJSONGraph`/`ffi::FromJSONGraph` calls - Remove C++ `node.MakeNode` function and redirect Python `make_node` to `ffi.MakeObjectFromPackedArgs` ## Test plan - [ ] `tests/python/ir/` — all 16 tests pass - [ ] `tests/python/tir-base/` — 349 passed, 2 skipped - [ ] Full build clean with no errors -- 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]
