We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f6346 commit d24055cCopy full SHA for d24055c
third_party/nvidia/backend/driver.py
@@ -16,18 +16,6 @@
16
libdevice_dir = os.path.join(dirname, "lib")
17
libraries = ['cuda']
18
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
31
32
@functools.lru_cache()
33
def libcuda_dirs():
0 commit comments