mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-06 16:21:49 +00:00
trying somethning else (+1 squashed commits)
Squashed commits: [bf497e5cf] trying somethning else
This commit is contained in:
parent
fedd529fdc
commit
6128a91d5a
1 changed files with 9 additions and 3 deletions
12
koboldcpp.sh
12
koboldcpp.sh
|
|
@ -28,6 +28,13 @@ KCPP_CUDA=$(<conda/envs/linux/cudaver)
|
|||
KCPP_CUDAAPPEND=-cuda${KCPP_CUDA//.}$KCPP_APPEND
|
||||
|
||||
if [ -n "$TRANSPLANT_TK" ]; then
|
||||
echo Check system tk and python
|
||||
python3 --version
|
||||
ldd "/usr/lib/x86_64-linux-gnu/libtk8.6.so"
|
||||
python3 - <<'EOF'
|
||||
import tkinter
|
||||
print("System TK version:", tkinter.Tcl().call("info", "patchlevel"))
|
||||
EOF
|
||||
echo Attempting to use a transplanted tkinter from ubuntu-24.04.3 to fix fontconfig issues
|
||||
bin/micromamba run -r conda -p conda/envs/linux python - <<'EOF'
|
||||
import tkinter
|
||||
|
|
@ -36,9 +43,8 @@ EOF
|
|||
ldd "conda/envs/linux/lib/libtk8.6.so"
|
||||
rm -f "conda/envs/linux/lib/libtcl8.6.so"
|
||||
rm -f "conda/envs/linux/lib/libtk8.6.so"
|
||||
curl -L https://github.com/LostRuins/koboldcpp/releases/download/cuda11_cublas_libraries/libtcl8.6.so --output conda/envs/linux/lib/libtcl8.6.so
|
||||
curl -L https://github.com/LostRuins/koboldcpp/releases/download/cuda11_cublas_libraries/libtk8.6.so --output conda/envs/linux/lib/libtk8.6.so
|
||||
chmod 755 "conda/envs/linux/lib/libtcl8.6.so" "conda/envs/linux/lib/libtk8.6.so"
|
||||
ln -s /usr/lib/x86_64-linux-gnu/libtk8.6.so conda/envs/linux/lib/libtk8.6.so
|
||||
ln -s /usr/lib/x86_64-linux-gnu/libtcl8.6.so conda/envs/linux/lib/libtcl8.6.so
|
||||
ls -lah conda/envs/linux/lib
|
||||
bin/micromamba run -r conda -p conda/envs/linux python - <<'EOF'
|
||||
import tkinter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue