Skip to content
Discussion options

You must be logged in to vote
  1. Download python-3.10-embed
  2. Save the koboldcpp .exe as koboldcpp_rocm.exe
  3. download pyinstxtractor-ng.exe (just google it, you will find the project)

Then this batch file will do the rest:

set subdir=koboldcpp_rocm
set pythonsource=python-3.10.0-embed-amd64

rmdir %subdir% /s /q
pyinstxtractor-ng.exe -d %subdir%.exe
ren %subdir%.exe_extracted %subdir%
robocopy %pythonsource%\ %subdir% /s /e /r:0 /z

The same works with regular koboldcpp for CUDA, but there, it needy python 3.8 (like 3.8.10)

to run, use this batch file:

set subdir=koboldcpp_rocm

set TCL_LIBRARY=%cd%\%subdir%\_tcl_data
set TK_LIBRARY=%cd%\%subdir%\_tk_data
%subdir%\python %subdir%\koboldcpp.pyc %*

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Krxon
Comment options

Answer selected by Krxon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants