Skip to content
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

Update apex.mlp (= mlp_cuda) test #1425

Merged
merged 1 commit into from
Aug 9, 2022
Merged

Conversation

crcrpar
Copy link
Collaborator

@crcrpar crcrpar commented Jul 14, 2022

to use torch.testing.assert_close instead of
numpy.testing.assert_allclose. The former uses a bit looser threshold
values.

cc @FDecaYed

Signed-off-by: Masaki Kozuki mkozuki@nvidia.com

to use `torch.testing.assert_close` instead of
`numpy.testing.assert_allclose`. The former uses a bit looser threshold
values.

Signed-off-by: Masaki Kozuki <mkozuki@nvidia.com>
@crcrpar crcrpar changed the title Update apex.mp (= mlp_cuda) test Update apex.mlp (= mlp_cuda) test Jul 16, 2022
@crcrpar crcrpar marked this pull request as ready for review July 20, 2022 06:16
@crcrpar crcrpar added this to the 22.09 milestone Aug 9, 2022
@crcrpar crcrpar merged commit 71e5871 into NVIDIA:master Aug 9, 2022
@crcrpar crcrpar deleted the mlp_cuda_test branch August 9, 2022 22:49
hubertlu-tw pushed a commit to ROCm/apex that referenced this pull request Dec 28, 2022
to use `torch.testing.assert_close` instead of
`numpy.testing.assert_allclose`. The former uses a bit looser threshold
values.

Signed-off-by: Masaki Kozuki <mkozuki@nvidia.com>
yuanzhedong pushed a commit to yuanzhedong/apex that referenced this pull request Jul 14, 2023
to use `torch.testing.assert_close` instead of
`numpy.testing.assert_allclose`. The former uses a bit looser threshold
values.

Signed-off-by: Masaki Kozuki <mkozuki@nvidia.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