-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit eb7ef26
[quant] allow
* allow non list components_to_quantize.
* up
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* [docs] components_to_quantize (#12287)
init
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>components_to_quantize
to be a non-list for single components (#12234)1 parent e1b7f1f commit eb7ef26
File tree
6 files changed
+29
-7
lines changed- docs/source/en
- api/pipelines
- quantization
- using-diffusers
- src/diffusers/quantizers
- tests/quantization
6 files changed
+29
-7
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | - | ||
53 | + | ||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | - | ||
57 | + | ||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 | - | ||
94 | + | ||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 | - | ||
142 | + | ||
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | - | ||
37 | + | ||
38 | + | ||
39 | + | ||
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
| |||
62 | 64 |
| |
63 | 65 |
| |
64 | 66 |
| |
67 | + | ||
65 | 68 |
| |
66 | 69 |
| |
67 | 70 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 | - | ||
101 | + | ||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | - | ||
51 | + | ||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | + | ||
58 | + | ||
59 | + | ||
57 | 60 |
| |
58 | 61 |
| |
59 | 62 |
| |
|
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
299 | 299 |
| |
300 | 300 |
| |
301 | 301 |
| |
302 | + | ||
303 | + | ||
304 | + | ||
305 | + | ||
306 | + | ||
307 | + | ||
308 | + | ||
309 | + | ||
310 | + | ||
311 | + | ||
312 | + | ||
313 | + | ||
314 | + | ||
315 | + | ||
316 | + | ||
317 | + |
0 commit comments