Commit b88e60b
Fix: ensure consistent dtype and eval mode in pipeline save/load tests (#13339)
* Fix: ensure consistent dtype and eval mode in pipeline save/load tests
* Modify according to the comments
* Update according to the comments
* Update comment
* Code quality
* cast buffers to torch.float16
* conflict
* Fix
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>1 parent 7e463ea commit b88e60b
File tree
2 files changed
+15
-0
lines changed- src/diffusers/models/transformers
- tests/pipelines
2 files changed
+15
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
| 1032 | + | |
1032 | 1033 | | |
1033 | 1034 | | |
1034 | 1035 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1443 | 1443 | | |
1444 | 1444 | | |
1445 | 1445 | | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
1446 | 1456 | | |
1447 | 1457 | | |
1448 | 1458 | | |
1449 | 1459 | | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
1450 | 1464 | | |
1451 | 1465 | | |
1452 | 1466 | | |
| |||
0 commit comments