Skip to content

Optimize koboldcpp.sh for local users - #2444

Draft
henk717 wants to merge 7 commits into
LostRuins:concedo_experimentalfrom
henk717:concedo_experimental
Draft

Optimize koboldcpp.sh for local users#2444
henk717 wants to merge 7 commits into
LostRuins:concedo_experimentalfrom
henk717:concedo_experimental

Conversation

@henk717

@henk717 henk717 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Right now koboldcpp.sh is to heavy handed for local users, this didn't matter when I made it but with how large llamacpp has gotten the builds get really long for what they don't need.

At the same time people may not have CUDA 12.1+, ARM, AMD, etc.

These changes make it easier to run from source without knowing what you are doing:

  • Portable builds now require KCPP_PORTABLE so people don't end up compiling what they don't need by default.
  • CUDA 11.4 / ROCm is automatically selected when its detected that this is required and not manually specified
  • ARM mamba is now automatically used if its an ARM system, systems that aren't x64 or ARM are now rejected.
  • ARM binaries say so in the name.

@henk717

henk717 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

Still need to verify the end result binaries but ran out of time.
They are all running in my branch overnight so you have a chance to verify them yourself if you want to.

@henk717
henk717 marked this pull request as draft September 7, 2026 03:09
@henk717

henk717 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

CI failed, will look at it another time

@henk717

henk717 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

Ended up fixing those, back to reviewable. Builds are running and can confirm locally it spits out the required files of the bin.

@henk717
henk717 marked this pull request as ready for review September 7, 2026 03:44
@henk717
henk717 marked this pull request as draft September 7, 2026 04:04
@LostRuins

Copy link
Copy Markdown
Owner

still draft so i guess its still WIP?

@henk717
henk717 marked this pull request as ready for review September 7, 2026 16:02
@henk717

henk717 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

It mostly needs the binaries validated but I did do last minute fixes last night.

@henk717
henk717 marked this pull request as draft September 7, 2026 22:49
@henk717

henk717 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

AMD binary had issues so on hold until I validate everything properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants