Skip to content

[Unity][MSC][M1.2] Add translate && codegen for tensorflow#15751

Closed
Archermmt wants to merge 3 commits intoapache:unityfrom
Archermmt:msc
Closed

[Unity][MSC][M1.2] Add translate && codegen for tensorflow#15751
Archermmt wants to merge 3 commits intoapache:unityfrom
Archermmt:msc

Conversation

@Archermmt
Copy link
Contributor

This is a pull request for MSC(Multi-System Compile)
RFC: https://discuss.tvm.apache.org/t/rfc-unity-msc-introduction-to-multi-system-compiler/15251/5
Tracking issue: #15233

This is the 2nd part of Milestone 1: Finish RuntimeManager for frameworks

To limit each PR in reviewable size, the Milestone 1 will be split into some steps:
M1.1 Add translate && codegen for torch
M1.2 Add translate && codegen for tensorflow
M1.3 Add codegen for tensorrt
M1.4 Add RuntimeManager and test with relax
M1.5 Add RuntimeManager and test with torch
M1.6 Add RuntimeManager and test with tensorflow
M1.7 Add RuntimeManager and test with tensorrt

Tensorflow GraphDef will be translate to MSCGraph via relay. The codegen for tensorflow follow the same principle with relax codegen, thus generate the model define as well as test.
As mentioned in #15645, MSC enables the relay based features. The test in this PR shows developers how to combine relay.frontend.from_tensorflow and msc.core.codegen.relay_to_relax to "create" a frontend for tensorflow in relax.

@Archermmt Archermmt force-pushed the msc branch 7 times, most recently from 6523300 to 10133d6 Compare September 22, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant