Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unity][MSC][M2.4] Add quantizer for quantize model #16228

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

Archermmt
Copy link
Contributor

@Archermmt Archermmt commented Dec 12, 2023

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 Milestone 2 for MSC: Use msc.runtime.Manager to manage the compiling pipeline && tools.
To limit each PR in reviewable size, the Milestone 2 will be split into some steps:
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

Quantization is widely used as model optimization methods. MSC implementation of quantizer differs from other frameworks. The quantization process is described as a tool and dispatched to torch/tvm/tensorrt when needed. In this way, the quantization of tvm can be "simulated" in torch (essential for QAT).

cc @Hzfengsy @junrushao

@Hzfengsy Hzfengsy merged commit 8edfee8 into apache:unity Dec 15, 2023
16 checks passed
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.

2 participants