Commit c92d268
authored
Fix: Remove duplicate try_site_packages() call in load_nvidia_dynamic_lib (#1258)
Remove redundant call to finder.try_site_packages() on line 28 that was
immediately overwritten by the same call on line 30. This duplicate call
was wasteful (unnecessary filesystem traversal) and indicates a code
review oversight.
The function now correctly calls try_site_packages() only once, improving
performance with no functional changes.
Location: cuda_pathfinder/cuda/pathfinder/_dynamic_libs/load_nvidia_dynamic_lib.py:281 parent 2607e0e commit c92d268
File tree
1 file changed
+0
-2
lines changed- cuda_pathfinder/cuda/pathfinder/_dynamic_libs
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
0 commit comments