The runner image was updated to windows-2025-vs2026 (VS 18), but the
Pack artifacts step hardcoded the VS 2022 Redist path. Search the
entire Visual Studio directory so it works regardless of which VS
version is installed.
Co-authored-by: Copilot <[email protected]>
libtbbbind is TBB's optional CPU topology library; it depends on
libhwloc which is not available on the CI runner or target systems.
Only bundle libtbb and libtbbmalloc, which are sufficient for llama.cpp.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
OpenVINO 2026.0 no longer ships plugins.xml in runtime/lib/intel64/;
plugin discovery is handled automatically by the runtime library.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Use the ubuntu22 toolkit variant (which exists for 2026.0) and run on
ubuntu-22.04 consistent with all other jobs in this workflow. Add an
optional ubuntu_version input to the linux-setup-openvino action so
callers can select the toolkit variant (default: ubuntu22).
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- Set OPENVINO_VERSION_FULL to the correct 2026.0.0.20965.c6d6a13a886
(sourced from ggml-org/llama.cpp build-openvino.yml)
- Install libtbb12, OpenCL headers, and ninja-build to match ggml-org's
build environment
- Run install_openvino_dependencies.sh from the toolkit before building
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Adds a new release job that builds llama.cpp with -DGGML_OPENVINO=ON,
bundles libopenvino*.so*, plugins.xml (with paths rewritten to basenames
for $ORIGIN portability), and TBB alongside llama-server, then publishes
llama-{tag}-bin-ubuntu-openvino-2026.0-x64.tar.gz so lemonade can
download it without requiring a system-wide OpenVINO install.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Remove duplicate closing brace that would cause a SyntaxError in the
Create-or-get-release github-script step on scheduled/manual runs.
Add Ubuntu arm64 CUDA artifact line to the release body template.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
The CUDA pack steps emitted a flat archive (files at the root), which
diverged from the ROCm Linux tarball and prior CUDA releases that extract
into a single llama-<tag>/ directory, and risks polluting the current
directory on extraction.
Restore the versioned top-level directory, but build it explicitly with
mkdir + cp instead of `tar --transform "s,./,..."`. The transform only
rewrites member paths when tar preserves the leading ./, which the x64
ubuntu-22.04 tar strips and the ubuntu-22.04-arm tar keeps, so the same
YAML produced different layouts. Staging into the directory first yields
an identical llama-<tag>/ layout on both runners.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
The CUDA pack steps used --transform "s,./,llama-<tag>/," which only
matches when tar preserves the leading ./ on member names. The x64
ubuntu-22.04 runner's tar strips ./ (files land flat at the root) while
the ubuntu-22.04-arm runner's tar keeps it (files nest under llama-<tag>/),
so identical YAML produced different archive layouts.
Drop the transform from both CUDA pack steps so both archives are flat at
the root regardless of tar version, and remove the now-unused tag step
from each CUDA job. Release filenames are unaffected (the release job has
its own tag step).
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Add ubuntu-22-cuda-arm64 job that mirrors ubuntu-22-cuda but runs on
ubuntu-22.04-arm runners and installs CUDA from NVIDIA's sbsa (aarch64)
repository. Artifacts are named with an arm64 suffix and the release job
is updated to depend on the new job.
https://claude.ai/code/session_019XSHjm8s2EGgd7EDtmcM9d
A transient GitHub outage during the upload step of a scheduled run left
b9443 with only 6 of 17 assets attached (missing most CUDA archs). The
upload loop had no retry, so a single fetch failure aborted everything
remaining, and the create/upload steps were gated on the tag not yet
existing, so a re-run would skip upload entirely and never self-heal.
- Replace the tag-exists check + action-create-release with a
getReleaseByTag-or-create step so a re-run reuses an existing release.
- Wrap each uploadReleaseAsset in exponential backoff (retrying only
transient errors: network/5xx/429) so one blip no longer aborts the
whole upload.
- List already-attached assets and skip them, so re-runs only fill gaps.
- Fail loudly if no artifacts are found instead of publishing nothing.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
A transient GitHub outage during the upload step of a scheduled run left
b9443 with only 6 of 17 assets attached (missing most CUDA archs). The
upload loop had no retry, so a single fetch failure aborted everything
remaining, and the create/upload steps were gated on the tag not yet
existing, so a re-run would skip upload entirely and never self-heal.
- Replace the tag-exists check + action-create-release with a
getReleaseByTag-or-create step so a re-run reuses an existing release.
- Wrap each uploadReleaseAsset in exponential backoff (retrying only
transient errors: network/5xx/429) so one blip no longer aborts the
whole upload.
- List already-attached assets and skip them, so re-runs only fill gaps.
- Fail loudly if no artifacts are found instead of publishing nothing.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
The release workflow consumes the get-tag-name composite action via a
pinned remote ref (lemonade-sdk/llama.cpp/.github/actions/get-tag-name@lemonade),
not a PR-local ./ path. A PR run therefore always uses the action from
the lemonade branch, so triggering on .github/actions/** changes would
run the old action version and falsely imply the change was validated.
Scope the PR trigger to the workflow file itself, which is the only
PR-controllable input that actually affects the outcome.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Run the release build/pack jobs on PRs so packaging issues (missing
runtime DLLs, RPATH problems, PowerShell quoting bugs, etc.) surface
before merging instead of only on the scheduled/dispatched release runs.
The existing release job is gated on schedule/create_release, so it is
skipped on pull_request and nothing is published.
To keep PR runs affordable:
- Scope the pull_request trigger to .github/** paths. The build jobs
clone llama.cpp source from upstream, so only changes to the release
pipeline itself can affect the outcome.
- Build a single representative CUDA arch (sm_89) on PRs; the packaging
logic is identical across all sm_*. The full matrix still runs on
schedule/dispatch.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
The nvjitlink sub-package is now installed (#8), but the Pack artifacts
step still failed to find the DLL:
Missing CUDA runtime DLL matching nvJitLink64_*.dll in
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin
Unlike cudart64_*/cublas64_*/curand64_*, the Windows nvJitLink
redistributable does not use the "64_" infix -- it is named
nvJitLink_120_0.dll. Match it with nvJitLink_*.dll instead.
This pattern is used both to copy the DLL from the CUDA bin directory
and to validate the staged package, so the single change fixes both.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
The windows-cuda Pack artifacts step requires nvJitLink64_*.dll (cublasLt
in CUDA 12 depends on nvJitLink for JIT linking, and the ubuntu-cuda job
bundles libnvJitLink.so for the same reason). But the Jimver/cuda-toolkit
sub-package list omitted nvjitlink, so the DLL was never installed and the
pack step failed:
Missing CUDA runtime DLL matching nvJitLink64_*.dll in
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin
Add the nvjitlink sub-package so the runtime DLL is present.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Write-Host "Contents of $releaseDir:" was parsed as a scope/drive
qualified variable ($releaseDir:), which PowerShell rejects with:
Variable reference is not valid. ':' was not followed by a valid
variable name character.
Because this is a parse-time error, the entire Pack artifacts script
failed to run, breaking every windows-cuda matrix job. Wrap the variable
in ${} to delimit the name from the trailing colon.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
The Set RPATH step only patched build/bin/*.so* and build/bin/llama-*,
so the bare `llama` executable (no dash suffix) kept its build-time
RPATH (an absolute build path). The validation step iterates over every
ELF file in build/bin and rejected `llama` with:
Unexpected RPATH '/home/runner/work/llama.cpp/llama.cpp/build/bin:'
Iterate over all of build/bin/* in the RPATH step so it covers exactly
the same files the validation step checks, ensuring every shipped ELF
gets $ORIGIN.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
The dynamic MSVC redist resolution sorted version directories by name
descending, which selected the `v143` folder over the numbered version
folder. `v143` lacks the `debug_nonredist\<arch>\Microsoft.VC143.OpenMP.LLVM`
subtree, so the libomp140 copy failed with a "Cannot find path" error.
Search recursively for the libomp140 DLL under the redist directory and
filter to the debug_nonredist\<arch> location instead of guessing the
version folder. This is robust to MSVC version bumps in the runner image
and fails fast with a clear message if the DLL is missing.
Co-Authored-By: Claude Opus 4.8 <[email protected]>