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

Compression methods #555

Merged
merged 7 commits into from
Mar 29, 2023
Merged

Compression methods #555

merged 7 commits into from
Mar 29, 2023

Conversation

xieyxclack
Copy link
Collaborator

This pr includes:

  • Message compression based on grpc (gzip & deflate)
  • Symmetric uniform model compression (32 bit -> 16/8 bit)
  • Unittest for model compression in distributed & standalone mode
  • Docs of usage of these compression methods

Thanks a lot for the help from @chenhesen!

@xieyxclack xieyxclack added the Feature New feature label Mar 28, 2023
@xieyxclack xieyxclack requested a review from yxdyc March 28, 2023 07:32
Copy link
Collaborator

@yxdyc yxdyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. By the way, it is suggested to add (asymmetric) affine quantization in the next version, as it is a relatively simple and natural extension for the implemented symmetric uniform quant here, while can achieving smaller precision loss.

@yxdyc yxdyc merged commit 5e3abad into alibaba:master Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants