-
Notifications
You must be signed in to change notification settings - Fork 452
[Docs] Clean-up + Example ReadMe updates #2399
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
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4551832
some clean-up + remove old examples
dsikka 9765a6c
fix links and headings
dsikka 641a698
add examples/README.md and update MoE readme
dsikka fe45661
fix
dsikka 1857c3b
fix link
dsikka 1ac00e6
Merge branch 'main' into example_2
dsikka 66bdb4f
updatE
dsikka c1be650
try again
dsikka dde6cc7
update
dsikka ff72c20
fix link{
dsikka e900aaa
update
dsikka 4560bac
fix link
dsikka 3b05081
add experimental files
dsikka ebe848e
update readme
dsikka 1da8cf0
update
dsikka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| --- | ||
| weight: -4 | ||
| --- | ||
|
|
||
| # LLM Compressor Examples | ||
|
|
||
| The LLM Compressor examples are organized primarily by quantization scheme. Each folder contains model-specific examples showing how to apply that quantization scheme to a particular model. | ||
|
|
||
| Some examples are additionally grouped by model type, such as: | ||
| - `multimodal_audio` | ||
| - `multimodal_vision` | ||
| - `quantizing_moe` | ||
|
|
||
| Other examples are grouped by algorithm, such as: | ||
| - `awq` | ||
| - `autoround` | ||
|
|
||
| ## How to find the right example | ||
|
|
||
| - If you are interested in quantizing a specific model, start by browsing the model-type folders (for example, `multimodal_audio`, `multimodal_vision`, or `quantizing_moe`). | ||
| - If you don’t see your model there, decide which quantization scheme you want to use (e.g., FP8, FP4, INT4, INT8, or KV cache / attention quantization) and look in the corresponding `quantization_***` folder. | ||
| - Each quantization scheme folder contains at least one LLaMA 3 example, which can be used as a general reference for other models. | ||
|
|
||
| ## Where to start if you’re unsure | ||
|
|
||
| If you’re unsure which quantization scheme to use, a good starting point is a data-free pathway, such as `w8a8_fp8`, found under `quantization_w8a8_fp8`. For more details on available schemes and when to use them, see the Compression Schemes [guide](https://docs.vllm.ai/projects/llm-compressor/en/latest/guides/compression_schemes/). | ||
|
|
||
| ## Need help? | ||
|
|
||
| If you don’t see your model or aren’t sure which quantization scheme applies, feel free to open an issue and someone from the community will be happy to help. | ||
|
|
||
| !!! note | ||
| We are currently updating and improving our documentation and examples structure. Feedback is very welcome during this transition. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
examples/quantization_2of4_sparse_w4a16/2of4_w4a16_group-128_recipe.yaml
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
examples/quantization_2of4_sparse_w4a16/2of4_w4a16_recipe.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.