tlopex opened a new pull request, #19711: URL: https://github.com/apache/tvm/pull/19711
This fixes CoreML Relax partitioning after `FoldDataflowBlockOutput` was folded into `CanonicalizeBindings`. `partition_for_coreml` still called `relax.transform.FoldDataflowBlockOutput()`, but that pass is no longer exported. This caused CoreML partition tests to fail with: ```text AttributeError: module 'tvm.relax.transform' has no attribute 'FoldDataflowBlockOutput' ``` The old pass behavior is now covered by `CanonicalizeBindings`, so this updates CoreML partitioning to call `CanonicalizeBindings()` instead. The existing CoreML test file now also includes a partition-only regression test. The end-to-end CoreML tests remain guarded by the CoreML runtime requirements, while the partition test can run without coremltools, Xcode, or a CoreML runtime. -- 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]
