diffusers
[Tests] better determinism
#3374
Merged

[Tests] better determinism #3374

patrickvonplaten merged 82 commits into main from tests/fix-determinism
sayakpaul
sayakpaul enable deterministic pytorch and cuda operations.
50ae2974
sayakpaul disable manual seeding.
44b0ad67
sayakpaul make style && make quality for unet_2d tests.
1d889074
sayakpaul enable determinism for the unet2dconditional model.
9ef07c6d
sayakpaul add CUBLAS_WORKSPACE_CONFIG for better reproducibility.
ba8f9c8e
sayakpaul relax tolerance (very weird issue, though).
56ee5d09
sayakpaul revert to torch manual_seed() where needed.
8b1e9271
sayakpaul relax more tolerance.
a57abd90
sayakpaul better placement of the cuda variable and relax more tolerance.
30ee9e1d
sayakpaul
sayakpaul commented on 2023-05-09
sayakpaul
sayakpaul commented on 2023-05-09
sayakpaul
sayakpaul commented on 2023-05-09
HuggingFaceDocBuilderDev
sayakpaul 'Merge branch 'main' into tests/fix-determinism
a1fc9fa7
sayakpaul enable determinism for 3d condition model.
1684c11c
sayakpaul relax tolerance.
df6c0ade
sayakpaul add: determinism to alt_diffusion.
1760fbc4
sayakpaul relax tolerance for alt diffusion.
d709b192
sayakpaul dance diffusion.
9f40ef1b
sayakpaul dance diffusion is flaky.
ae884b72
sayakpaul test_dict_tuple_outputs_equivalent edit.
77385194
sayakpaul fix two more tests.
ba3a8930
sayakpaul fix more ddim tests.
a7dfbeae
sayakpaul fix: argument.
41426693
sayakpaul change to diff in place of difference.
dc564f78
sayakpaul fix: test_save_load call.
4ca382d7
sayakpaul test_save_load_float16 call.
07899338
sayakpaul fix: expected_max_diff
f120d7aa
sayakpaul fix: paint by example.
202d76dd
sayakpaul relax tolerance.
81e287a1
sayakpaul add determinism to 1d unet model.
6f9a6f04
sayakpaul torch 2.0 regressions seem to be brutal
6a19ce38
sayakpaul determinism to vae.
71b0782f
sayakpaul add reason to skipping.
ce3d25fc
sayakpaul up tolerance.
061a179a
sayakpaul determinism to vq.
438353c1
sayakpaul determinism to cuda.
063a5b7b
sayakpaul determinism to the generic test pipeline file.
864e2bcb
sayakpaul refactor general pipelines testing a bit.
a3448610
sayakpaul
sayakpaul commented on 2023-05-11
sayakpaul determinism to alt diffusion i2i
37fb81b5
sayakpaul up tolerance for alt diff i2i and audio diff
46495f92
sayakpaul up tolerance.
5df54456
sayakpaul determinism to audioldm
5c700aa2
sayakpaul increase tolerance for audioldm lms.
288c2cf5
sayakpaul increase tolerance for paint by paint.
440f2aed
sayakpaul increase tolerance for repaint.
5cd316d5
sayakpaul determinism to cycle diffusion and sd 1.
21b8f7aa
sayakpaul relax tol for cycle diffusion 🚲
99269f0e
sayakpaul relax tol for sd 1.0
9f2616c4
sayakpaul relax tol for controlnet.
65383923
sayakpaul determinism to img var.
9f474811
sayakpaul relax tol for img variation.
306a9ce4
sayakpaul tolerance to i2i sd
0a863bc2
sayakpaul make style
1c890259
sayakpaul determinism to inpaint.
6e5e5185
sayakpaul relax tolerance for inpaiting.
47c583ab
sayakpaul determinism for inpainting legacy
8b9d5b8c
sayakpaul relax tolerance.
a6a65325
sayakpaul determinism to instruct pix2pix
89dd26b9
sayakpaul determinism to model editing.
acad10fe
sayakpaul model editing tolerance.
31761604
sayakpaul panorama determinism
221f0eb9
sayakpaul determinism to pix2pix zero.
edd08377
sayakpaul determinism to sag.
a323939c
sayakpaul sd 2. determinism
fa50f12b
sayakpaul sd. tolerance
0080889e
sayakpaul disallow tf32 matmul.
19fce174
sayakpaul relax tolerance is all you need.
70d5de04
sayakpaul make style and determinism to sd 2 depth
74d5bae0
sayakpaul relax tolerance for depth.
6c56f097
sayakpaul tolerance to diffedit.
5cd391a8
sayakpaul tolerance to sd 2 inpaint.
1b44420d
sayakpaul up tolerance.
12ec5c87
sayakpaul determinism in upscaling.
25525e31
sayakpaul tolerance in upscaler.
d98e2968
sayakpaul more tolerance relaxation.
06f94bdc
sayakpaul determinism to v pred.
b78dee69
sayakpaul up tol for v_pred
9805f151
sayakpaul unclip determinism
2db2296b
sayakpaul determinism to unclip img2img
8008687c
sayakpaul determinism to text to video.
05f52b26
sayakpaul determinism to last set of tests
db9eef62
sayakpaul up tol.
05612f09
sayakpaul vq cumsum doesn't have a deterministic kernel
08320a36
sayakpaul relax tol
8c09cf00
sayakpaul relax tol
3afc0c0e
sayakpaul sayakpaul marked this pull request as ready for review 3 years ago
sayakpaul sayakpaul requested a review from patrickvonplaten patrickvonplaten 3 years ago
patrickvonplaten
patrickvonplaten commented on 2023-05-11
patrickvonplaten
patrickvonplaten commented on 2023-05-11
patrickvonplaten
patrickvonplaten commented on 2023-05-11
patrickvonplaten
patrickvonplaten approved these changes on 2023-05-11
patrickvonplaten
patrickvonplaten
patrickvonplaten patrickvonplaten merged 90f5f3c4 into main 3 years ago
patrickvonplaten
sayakpaul sayakpaul deleted the tests/fix-determinism branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone