Skip to content

Commit ecbc532

Browse files
committed
update dtype for ROCm
1 parent dcb15b2 commit ecbc532

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

torch/testing/_internal/common_methods_invocations.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,8 +1625,9 @@ def _make_tensor_helper(shape, low=None, high=None):
16251625
UnaryUfuncInfo('bitwise_not',
16261626
ref=np.bitwise_not,
16271627
dtypes=integral_types_and(torch.bool),
1628-
dtypesIfCPU=integral_types_and(torch.bool),
1629-
dtypesIfCUDA=integral_types_and(torch.bool),
1628+
dtypesIfCPU=None,
1629+
dtypesIfCUDA=None,
1630+
dtypesIfROCM=None,
16301631
supports_autograd=False),
16311632
UnaryUfuncInfo('ceil',
16321633
ref=np.ceil,

0 commit comments

Comments
 (0)