[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
7d722faedc
commit
b91f47c3b7
1 changed files with 5 additions and 2 deletions
|
|
@ -500,8 +500,11 @@ def _ensure_rocm_torch_windows() -> None:
|
|||
# call (or a prior setup.ps1 / install.ps1 run) already succeeded.
|
||||
try:
|
||||
_probe = subprocess.run(
|
||||
[sys.executable, "-c",
|
||||
"import torch; print(getattr(torch.version,'hip','') or '')"],
|
||||
[
|
||||
sys.executable,
|
||||
"-c",
|
||||
"import torch; print(getattr(torch.version,'hip','') or '')",
|
||||
],
|
||||
stdout = subprocess.PIPE,
|
||||
stderr = subprocess.DEVNULL,
|
||||
timeout = 30,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue