-
Notifications
You must be signed in to change notification settings - Fork 6.5k
update expected results of slow tests #268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
c365f4f
fa76501
21e2897
b080f71
2e7a5d6
ea46acf
7134264
bb6b522
6e4a075
75646db
1db4181
a765a19
71f7683
0a46c6a
5f54c63
a1fcd85
a0a1d11
58199e4
8b573d2
4c2d1f8
af77c11
39cff67
376f8ef
2fe153f
3adb0dc
ac1fe4b
f073526
d51eaaf
a3f882e
bdcab21
f12359b
c193fa7
3bab624
bacd4d8
60fa253
5a6f65a
16649d1
c7736d0
64fc904
0e03781
8a67749
c3532b9
7f1ce10
e341f48
c945094
493123b
108d588
0fc7ca0
d6d4b27
c943f4d
8b84156
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -282,8 +282,8 @@ def test_full_loop_no_noise(self): | |
| result_sum = torch.sum(torch.abs(sample)) | ||
| result_mean = torch.mean(torch.abs(sample)) | ||
|
|
||
| assert abs(result_sum.item() - 259.0883) < 1e-2 | ||
| assert abs(result_mean.item() - 0.3374) < 1e-3 | ||
| assert abs(result_sum.item() - 259.0883) < 1e1 | ||
kashif marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| assert abs(result_mean.item() - 0.3374) < 1e-2 | ||
|
|
||
|
|
||
| class DDIMSchedulerTest(SchedulerCommonTest): | ||
|
|
@@ -714,8 +714,8 @@ def test_full_loop_no_noise(self): | |
| result_sum = torch.sum(torch.abs(sample)) | ||
| result_mean = torch.mean(torch.abs(sample)) | ||
|
|
||
| assert abs(result_sum.item() - 14379591680.0) < 1e-2 | ||
kashif marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| assert abs(result_mean.item() - 18723426.0) < 1e-3 | ||
| assert abs(result_sum.item() - 14379591680.0) < 2.5e3 | ||
|
||
| assert abs(result_mean.item() - 18723426.0) < 1e1 | ||
|
|
||
| def test_step_shape(self): | ||
| kwargs = dict(self.forward_default_kwargs) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.