Commit 98d0cd5
Use torch.device instead of current device index for BnB quantizer (huggingface#10069)
* update
* apply review suggestion
---------
Co-authored-by: Sayak Paul <[email protected]>1 parent 0d11ab2 commit 98d0cd5
File tree
2 files changed
+3
-1
lines changed- src/diffusers/models
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
839 | | - | |
| 839 | + | |
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
| |||
0 commit comments