Skip to content

Deterministically seed all ATen C++ tests.#5545

Merged
ezyang merged 1 commit intopytorch:masterfrom
ezyang:pr/seed-aten-tests
Mar 4, 2018
Merged

Deterministically seed all ATen C++ tests.#5545
ezyang merged 1 commit intopytorch:masterfrom
ezyang:pr/seed-aten-tests

Conversation

@ezyang
Copy link
Copy Markdown
Contributor

@ezyang ezyang commented Mar 3, 2018

Hopefully this fixes the following assertion faiulre:

/var/lib/jenkins/workspace/aten/src/ATen/test/native_test.cpp:102: test:
Assertion d5.matmul(d1).allclose(d5.view({24, 2, 3}).bmm(d1.view({1, 3, 1}).expand({24, 3, 1})).view({3, 2, 4, 2})) failed.

(this error seems to only occur on ASAN tests...)

Signed-off-by: Edward Z. Yang ezyang@fb.com

Hopefully this fixes the following assertion faiulre:

/var/lib/jenkins/workspace/aten/src/ATen/test/native_test.cpp:102: test:
Assertion `d5.matmul(d1).allclose(d5.view({24, 2, 3}).bmm(d1.view({1, 3,
1}).expand({24, 3, 1})).view({3, 2, 4, 2}))` failed.

(this error seems to only occur on ASAN tests...)

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
@ezyang
Copy link
Copy Markdown
Contributor Author

ezyang commented Mar 4, 2018

@pytorchbot retest this please

1 similar comment
@ezyang
Copy link
Copy Markdown
Contributor Author

ezyang commented Mar 4, 2018

@pytorchbot retest this please

@ezyang ezyang merged commit 4ad58e6 into pytorch:master Mar 4, 2018
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Hopefully this fixes the following assertion faiulre:

/var/lib/jenkins/workspace/aten/src/ATen/test/native_test.cpp:102: test:
Assertion `d5.matmul(d1).allclose(d5.view({24, 2, 3}).bmm(d1.view({1, 3,
1}).expand({24, 3, 1})).view({3, 2, 4, 2}))` failed.

(this error seems to only occur on ASAN tests...)

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant