Commit 44970f8
committed
Dedupe disabled_quantizers units by importing default_disabled_quantizers
Before: huggingface/{nemotron_vl,phi4mm}/ptq/disabled_quantizers.yaml each
duplicated the 14-entry default_disabled_quantizers list verbatim and then
appended the model-specific exclusions.
After: both units use multi-document YAML to declare an `imports:` section,
`$import: default_disabled_quantizers` as the first list entry, and only
the model-specific exclusions explicitly. Recipes that import these units
are unaffected; the resolved quant_cfg is unchanged.
Signed-off-by: Shengliang Xu <shengliangx@nvidia.com>1 parent 41e1788 commit 44970f8
2 files changed
Lines changed: 18 additions & 73 deletions
File tree
- modelopt_recipes/huggingface
- nemotron_vl/ptq
- phi4mm/ptq
Lines changed: 9 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
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 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
55 | 28 | | |
56 | 29 | | |
57 | 30 | | |
| |||
Lines changed: 9 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 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 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
55 | 27 | | |
56 | 28 | | |
57 | 29 | | |
| |||
0 commit comments