Skip to content

Commit d24055c

Browse files
committed
Fixed loading of nvidia driver.py module
Signed-off-by: Gregory Shimansky <[email protected]>
1 parent 81f6346 commit d24055c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

third_party/nvidia/backend/driver.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@
1616
libdevice_dir = os.path.join(dirname, "lib")
1717
libraries = ['cuda']
1818

19-
# Extract major and minor version of Python
20-
major, minor = sys.version_info[:2]
21-
22-
# Generate the library name by concatenating 'python' with the major and minor version
23-
python_version_str = f"python{major}{minor}"
24-
25-
# Append the generated library name to the libraries list
26-
27-
if os.name == "nt":
28-
libraries.append(python_version_str)
29-
include_dir += [os.path.join(os.environ.get("CUDA_PATH"), "include")]
30-
3119

3220
@functools.lru_cache()
3321
def libcuda_dirs():

0 commit comments

Comments
 (0)