Conversation
…cceleration Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix flawed app deployment logic for GPU acceleration
Build acestep.cpp on user's machine at first launch for real GPU acceleration
Mar 7, 2026
…p-cpp build Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Copilot
AI
changed the title
Build acestep.cpp on user's machine at first launch for real GPU acceleration
Fix release deployment: compile acestep.cpp on the user's machine for real GPU acceleration
Mar 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release bundles were shipping CPU-only binaries compiled on GPU-less GitHub runners, meaning no user ever got GPU acceleration regardless of their hardware.
Approach
Shift the
acestep.cppcompilation to first launch on the user's machine — same pattern asnode-gypnative addons — where the actual GPU is present and detectable.New files
build.sh/build.bat— cloneacestep.cppif absent, auto-detect GPU, compile with correct flags:Detection matrix:
-DGGML_CUDA=ON-DGGML_HIP=ON-DGGML_VULKAN=ON-DGGML_BLAS=ON(coexists with GPU)release.ymlubuntu-latestbuild.sh,build.bat,models.sh,models.batstart.sh/start.batcheck on each launch: no binaries → runbuild.sh; no*.gguf→ runmodels.sh; then start the serverwindows-x64platform (.ziparchive)ACESTEP_CPP_REPOto canonicalaudiohacking/acestep.cppci.ymlbuild-acestep-cppjob (which tested a manual cmake build no user ever runs) withtest-build-script— runsbash build.sh --cpuend-to-end and verifies binaries land inbin/build.shhash + repo URL so reruns are fastsetup.shCalls
build.shautomatically instead of printing manual cmake instructions.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.