Switched VS2019 for revert cu12.1 build, hopefully solves dll issues

try change order (+3 squashed commit)

Squashed commit:

[457f02507] try newer jimver

[64af28862] windows pyinstaller shim. the final loader will be moved into the packed directory later.

[0272ecf2d] try alternative way of getting cuda toolkit 12.4 since jimver wont work, also fix rocm
try again (+3 squashed commit)

Squashed commit:

[133e81633] try without pwsh

[4d99cefba] try without pwsh

[bdfa91e7d] try alternative way of getting cuda toolkit 12.4, also fix rocm
This commit is contained in:
Concedo 2025-06-10 16:49:04 +08:00
parent 28b35ca879
commit 8386546e08
5 changed files with 60 additions and 13 deletions

10
tools/kcpplauncherhook.py Normal file
View file

@ -0,0 +1,10 @@
import os
import sys
# Determine the folder where the .pyd files will be located
pyd_subdir = os.path.join(sys._MEIPASS, 'pyds')
# Add the subfolder to sys.path so Python can find the .pyd modules
print("Augmenting PYD directory...")
if os.path.isdir(pyd_subdir):
sys.path.insert(0, pyd_subdir)