Skip to content

Commit 893b902

Browse files
committed
NLL loss TestConsistency seems to be working.
1 parent 4166db2 commit 893b902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_mps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8025,6 +8025,7 @@ class TestConsistency(TestCase):
80258025
'cross': ['f16', 'f32', 'i16', 'i32', 'i64', 'u8'],
80268026
'linalg.cross': ['f16', 'f32', 'i16', 'i32', 'i64', 'u8'],
80278027
'unique_consecutive': ['b8', 'f16', 'f32', 'i16', 'i32', 'i64', 'u8'],
8028+
'nn.functional.nll_loss': ['f32'],
80288029
}
80298030

80308031

@@ -8211,7 +8212,6 @@ class TestConsistency(TestCase):
82118212
'masked.sum': [torch.bool],
82128213

82138214
# Functions that hard crash
8214-
'nn.functional.nll_loss': [torch.float32],
82158215
'nn.functional.padreflect': [torch.float32], 'nn.functional.padreplicate': [torch.float32],
82168216
'std': [torch.float16],
82178217
'stft': [torch.float32], 'var': [torch.float16],

0 commit comments

Comments
 (0)