Commit e4f6c37
[DiffusionPipeline] Deprecate not throwing error when loading non-existant variant (huggingface#4011)
* Deprecate variant nicely
* make style
* Apply suggestions from code review
Co-authored-by: Sayak Paul <[email protected]>
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <[email protected]>
---------
Co-authored-by: Sayak Paul <[email protected]>
Co-authored-by: Pedro Cuenca <[email protected]>1 parent 98c9aac commit e4f6c37
File tree
2 files changed
+34
-0
lines changed- src/diffusers/pipelines
- tests/pipelines
2 files changed
+34
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1213 | 1213 | | |
1214 | 1214 | | |
1215 | 1215 | | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
1216 | 1225 | | |
1217 | 1226 | | |
1218 | 1227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
1361 | 1363 | | |
1362 | 1364 | | |
1363 | 1365 | | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
1364 | 1389 | | |
1365 | 1390 | | |
1366 | 1391 | | |
| |||
0 commit comments