Commit 7fc7837
committed
Address review feedback: always emit qk_norm_epsilon, cache mxfp4 weight map, drop stray whitespace
- base.py: always add qk_norm_epsilon GQA attribute (matches convention of unconditionally-added attributes; value only used when q/k norm weights are present)
- base.py: remove whitespace-only line after CudaQuantizer import
- gptoss.py: add explicit _mxfp4_weight_map_loaded flag so the no-index case caches instead of re-globbing the snapshot dir on every tensor load1 parent 7edb10a commit 7fc7837
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
2751 | 2751 | | |
2752 | 2752 | | |
2753 | 2753 | | |
| 2754 | + | |
2754 | 2755 | | |
2755 | | - | |
2756 | | - | |
2757 | 2756 | | |
2758 | 2757 | | |
2759 | 2758 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments