Skip to content

[Unity][MSC][Tracking Issue] Introduction to Multi-System Compiler #15233

@Archermmt

Description

@Archermmt
  • [M0] Build MSCGraph core parts. Enable translation between Relay, Relax and MSCGraph without lossing information.
    • [M0.1] Passes for set name and layout for expressions (src/contrib/msc/transform)
    • [M0.2] MSCGraph core (src/contrib/msc/core/ir/graph && python/tvm/contrib/msc/core/ir/graph)
    • [M0.3] MSCGraph Builder (src/contrib/msc/core/ir/graph_builder)
    • [M0.4] Codegen (src/contrib/msc/core/codegen, src/contrib/msc/framework/tvm/codegen)
    • [M0.5] Translation test (relax/relay test && related helper modules in python)
  • [M1] Finish RuntimeManager for relax, and torch, so that a compiling process can be test based on MSCGraph.
    • [M1.1] Add translate && codegen for torch
    • [M1.2] Add translate && codegen for tensorflow
    • [M1.3] Add codegen for tensorrt
    • [M1.4] Add Runner and test with relax
    • [M1.5] Add Runner and test with torch
    • [M1.6] Add Runner and test with tensorflow
    • [M1.7] Add Runner and test with tensorrt
  • [M2] Use msc.runtime.Manager to manage the compiling pipeline && tools.
    • [M2.1] Add Manager for compile pipeline
    • [M2.2] Add pruner for model pruning
    • [M2.3] Add tracker for track layer datas
    • [M2.4] Add quantizer for quantize model
  • [M3] Add MSCGym, enable auto compression. Add distiller, enable knowledge distilliation.
    • [M3.1] Add distiller for distill model
    • [M3.2] Add gym for pruning and quantization, enable auto prune/quantize
  • [M4] Add plugin builder, enable plugin wrap in different frameworks.
    • [M4.1] Add plugin && plugin_builder, enable build and test in different frameworks.
    • [M4.2] Enable plugin with manager, test plugins in compile pipeline.
  • [M5] [Optional] Add MSCWrapper as compression toolchain.
    • [M5.1] Build wrapper to support compression
    • [M5.2] Enable quantize && prune with gym by wrapper
    • [M5.3] Support torch.dynamo for dynamic models

cc @quic-sanirudh

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype:rfc-trackingRFC progress tracking. Ref: https://github.com/apache/tvm-rfcs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions