-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add DeepSeek V2.5 Example #171
Conversation
👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM only nits for future consideration
MODEL_ID, | ||
reserve_for_hessians=True, | ||
num_gpus=2, | ||
torch_dtype=torch.bfloat16, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the future we should rely on auto dtype, but it seems like deepseek v2.5 is bfloat16 so this is okay
ignore: [lm_head, "re:.*mlp.gate$"] | ||
config_groups: | ||
group_0: | ||
weights: {num_bits: 4, type: int, symmetric: true, strategy: channel, dynamic: false} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may want to use grouped and actorder for the final example based on how the accuracy comes out, but this is good for now
SUMMARY: