mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
ci fix (#67826)
Summary:
Fixes #{issue number}
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67826
Reviewed By: Chillee
Differential Revision: D32164770
Pulled By: mruberry
fbshipit-source-id: c1de7e6db6d0cb1761388f1ea0178dbff3fe6dc8
This commit is contained in:
parent
1baed45c6b
commit
b8d365ca3a
|
|
@ -10,7 +10,7 @@ from torch.testing._internal.common_cuda import TEST_CUDA
|
|||
from torch.testing._internal.common_utils import run_tests
|
||||
from torch.testing import FileCheck
|
||||
|
||||
TEST_BFLOAT16 = torch.cuda.is_bf16_supported()
|
||||
TEST_BFLOAT16 = TEST_CUDA and torch.cuda.is_bf16_supported()
|
||||
|
||||
class TestAutocast(JitTestCase):
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user