[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-06 15:24:12 +00:00
commit a8494e25f3

View file

@ -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