Skip to content

Commit f787306

Browse files
iupaikov-amdjithunnair-amd
authored andcommitted
Formatting code style
1 parent a9d148d commit f787306

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

torch/testing/_internal/common_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,8 @@ def wrap_fn(self, *args, **kwargs):
18901890
result = free_global > required_amount
18911891

18921892
if not result:
1893-
reason = f"skipIfRocm: Not enough free VRAM on current ROCm device. Available {free_global:.2f} GB | Required {required_amount:.2f} GB."
1893+
reason = f"skipIfRocm: Not enough free VRAM on current ROCm device. " \
1894+
f"Available: {free_global:.2f} GB | Required: {required_amount:.2f} GB."
18941895
raise unittest.SkipTest(reason)
18951896
return fn(self, *args, **kwargs)
18961897
return wrap_fn

0 commit comments

Comments
 (0)