Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 3, 2023
1 parent 5d286aa commit 3b2345a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monai/utils/tf32.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def detect_default_tf32() -> bool:

if pytorch_after(1, 7, 0) and not pytorch_after(1, 12, 0):
warnings.warn(
f"torch.backends.cuda.matmul.allow_tf32 = True by default.\n"
f" This value defaults to True when PyTorch version in [1.7, 1.11] and may affect precision\n"
f" See https://docs.monai.io/en/latest/precision_accelerating.html#precision-and-accelerating"
"torch.backends.cuda.matmul.allow_tf32 = True by default.\n"
" This value defaults to True when PyTorch version in [1.7, 1.11] and may affect precision\n"
" See https://docs.monai.io/en/latest/precision_accelerating.html#precision-and-accelerating"
)
may_enable_tf32 = True

Expand Down

0 comments on commit 3b2345a

Please sign in to comment.