Skip to content

Commit 37d1657

Browse files
committed
lint
1 parent 2616ef1 commit 37d1657

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backends/cuda/cuda_backend.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import os
88
import shutil
9-
import subprocess
109
import typing
1110
from importlib import resources
1211
from typing import Any, Dict, final, List, Optional
@@ -39,7 +38,7 @@ def get_device_name(cls) -> str:
3938
return "cuda"
4039

4140
@staticmethod
42-
def _find_ptxas_for_version(cuda_version: str) -> Optional[str]:
41+
def _find_ptxas_for_version(cuda_version: str) -> Optional[str]: # noqa: C901
4342
"""
4443
Find ptxas binary that matches the expected CUDA version.
4544
Returns the path to ptxas if found and version matches, None otherwise.

0 commit comments

Comments
 (0)