-
Notifications
You must be signed in to change notification settings - Fork 195
Add: documentation for enhanced save_pretrained
parameters
#1377
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
Conversation
👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review. Note: This is required to complete the testing suite, please only add the label once the PR is code complete and local testing has been performed. |
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.
Pull Request Overview
This PR introduces new documentation in docs/save_pretrained.md to explain the enhanced save_pretrained functionality with additional compression parameters.
- Provides detailed descriptions of new parameters.
- Offers complete code examples for both automatic and manual wrapping approaches.
- Includes notes on compatibility with loading compressed models.
Signed-off-by: Rahul Tuli <[email protected]>
Signed-off-by: Rahul Tuli <[email protected]>
c6e7bbd
to
38faad8
Compare
This PR adds comprehensive documentation for the compression parameters available in the enhanced `save_pretrained` method. These parameters are critical for users working with model compression but were previously undocumented. ## Changes - Adds a new `docs/save_pretrained.md` file explaining: - How the enhanced `save_pretrained` method works - Detailed descriptions of all compression parameters - Code examples showing common usage patterns - Notes on compatibility with loading compressed models ## Benefits - **Better User Experience:** Users can clearly understand all available options - **Improved Onboarding:** New users can quickly learn how to save compressed models - **Comprehensive Examples:** Shows different approaches for saving models with compression This documentation supports [ticket](https://issues.redhat.com/browse/INFERENG-578) and will help users leverage the full capabilities of the compression functionality in the save process. --------- Signed-off-by: Rahul Tuli <[email protected]>
This PR adds comprehensive documentation for the compression parameters available in the enhanced
save_pretrained
method. These parameters are critical for users working with model compression but were previously undocumented.Changes
docs/save_pretrained.md
file explaining:save_pretrained
method worksBenefits
This documentation supports ticket and will help users leverage the full capabilities of the compression functionality in the save process.