Skip to content

Commit

Permalink
[Feature] fix test_deform_conv
Browse files Browse the repository at this point in the history
  • Loading branch information
huangqipeng committed Jun 30, 2023
1 parent 7b9a492 commit 8fbe007
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_ops/test_deform_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

from mmcv.utils import IS_CUDA_AVAILABLE, IS_MLU_AVAILABLE

if IS_MLU_AVAILABLE:
torch.backends.cnnl.allow_tf32 = False

try:
# If PyTorch version >= 1.6.0 and fp16 is enabled, torch.cuda.amp.autocast
# would be imported and used; we should test if our modules support it.
Expand Down

0 comments on commit 8fbe007

Please sign in to comment.