[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
0f2f4334e2
commit
a8494e25f3
1 changed files with 0 additions and 1 deletions
|
|
@ -293,7 +293,6 @@ def training_precision_preflight_error(resolved_family: str, base_precision: str
|
|||
# would pass the preflight, evict resident workloads, then raise only in the child.
|
||||
try:
|
||||
import torch
|
||||
|
||||
has_cuda = torch.cuda.is_available()
|
||||
except Exception: # noqa: BLE001 -- no torch / probe failure -> treat as no CUDA
|
||||
has_cuda = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue