Skip to content

Commit

Permalink
Skip cdouble dtype in pow test on TPU (#6772)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsy323 authored Mar 19, 2024
1 parent 7145a71 commit bd4420c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1960,9 +1960,13 @@ def foo(x):
torch.float32,
torch.float64,
torch.cfloat,
torch.cdouble,
]

if not _is_on_tpu():
test_dtypes += [
torch.cdouble,
]

for dtype in test_dtypes:
test(dtype)

Expand Down

0 comments on commit bd4420c

Please sign in to comment.