Skip to content

Activation Ordering #97

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

Merged
merged 84 commits into from
Aug 26, 2024
Merged

Activation Ordering #97

merged 84 commits into from
Aug 26, 2024

Conversation

horheynm
Copy link
Contributor

@horheynm horheynm commented Jun 24, 2024

Add helper functions for vllm-project/llm-compressor#94 and support for out-of-order group observation

  • extract and write g_idx to/from layer.weight_g_idx
  • pass g_idx to weight observations
  • small refactor of get_qparams to support out-of-order observation
  • Add activation order option to QuantArgs

PR Dependencies

Move safe_permute, update layer helper arguments (#137)
Group Index Quantization Support (#134)

bfineran
bfineran previously approved these changes Jul 1, 2024
Copy link
Contributor

@bfineran bfineran left a comment

Choose a reason for hiding this comment

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

LGTM for serialization only. will need to immediately follow up support for inference by updating the observers/base.py and lifecycle/forward.py to support g_idx when set.

Copy link
Contributor

@bfineran bfineran left a comment

Choose a reason for hiding this comment

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

meant to request

bfineran
bfineran previously approved these changes Jul 22, 2024
@kylesayrs kylesayrs changed the title act order Activation Ordering Aug 14, 2024
@kylesayrs kylesayrs changed the title Activation Ordering GPTQ Activation Ordering Aug 14, 2024
@kylesayrs kylesayrs marked this pull request as ready for review August 21, 2024 21:56
@kylesayrs kylesayrs changed the base branch from main to kylesayrs/quant_args_typo August 22, 2024 05:25
@kylesayrs kylesayrs changed the base branch from kylesayrs/quant_args_typo to main August 22, 2024 05:25
@kylesayrs kylesayrs requested review from Satrat and bfineran August 23, 2024 19:52
@kylesayrs kylesayrs merged commit 4bbb6a8 into main Aug 26, 2024
1 check passed
@kylesayrs kylesayrs deleted the act-order branch August 26, 2024 14:49
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.

4 participants