Commit 31e585c
[Autoround] Add MXFP8 example for Qwen3-8B (#2534)
## Summary
- Adds an experimental example script demonstrating MXFP8 quantization
of Qwen3-8B using `AutoRoundModifier`
- Includes sample generation verification and saving in compressed
format
```bash
========== SAMPLE GENERATION ==============
Hello my name is Mandy and I am 25 years old. I live in a small village called Tynedale in the north of England. I have a small family, my parents and my younger brother. I work as a teacher in a local school. I love my job because I enjoy working with children. I have a dog called Lucy. She is a golden retriever and she is very friendly and smart. I also have a cat called Charlie. He is a black cat and he is very
==========================================
```
cc @hshen14 @thuang6
---------
Signed-off-by: yiliu30 <yi4.liu@intel.com>
Co-authored-by: Dipika Sikka <dipikasikka1@gmail.com>1 parent db18422 commit 31e585c
File tree
2 files changed
+61
-2
lines changed- experimental/mxfp8
- src/llmcompressor/modifiers/autoround
2 files changed
+61
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
| 443 | + | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
0 commit comments