Skip to content

vulkan: fix build-breaking merge artifact; versioning scheme; CI polish - #35

Merged
worthant merged 4 commits into
devfrom
fix/vulkan-set-rows-brace
Jul 20, 2026
Merged

vulkan: fix build-breaking merge artifact; versioning scheme; CI polish#35
worthant merged 4 commits into
devfrom
fix/vulkan-set-rows-brace

Conversation

@worthant

@worthant worthant commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

Pilot run of the new dev → master flow. Three things bundled:

1. Vulkan build fix

The inkling merge resolution (066cc29) dropped the closing brace of the turbo-type guard in ggml_backend_vk_device_supports_op (case GGML_OP_SET_ROWS, ggml/src/ggml-vulkan/ggml-vulkan.cpp). Every subsequent function nested one level deeper → cascade of function-definition is not allowed here errors → both Vulkan builds (linux-x64, windows-x64) red since the merge; the 066cc29 release set shipped without Vulkan binaries. Fix: one brace.

Also corrects MERGE_NOTES.md: Vulkan DOES carry fork kernels for TURBO_WHT / turbo set_rows / GATED_DELTA_NET (pre-merge code, still present); only turbo3 FA SPIR-V and banded/lightning kernels are genuinely absent.

2. Versioning

  • TURBOQUANT_VERSION file, format <upstream-base>-<fork-semver> (b10018-1.0.0): upstream llama.cpp build the fork is based on + fork semver
  • --versionversion: b10018-1.0.0 (build N, commit sha)
  • llama_build_info() kept in upstream b<N>-<sha> format on purpose — it is the OpenAI system_fingerprint and clients parse it (caught by unit/test_chat_completion.py on the first CI round of this PR)
  • scripts/turboquant-release.sh + release-turboquant.yml: tag b10018-X.Y.Z → one release with ALL platform archives

3. CI polish

  • dev-build concurrency groups by ref: consecutive pushes to dev serialize instead of racing for dev-latest
  • English release notes throughout

Verification

  • Brace balance of ggml-vulkan.cpp restored (file-level depth 0, all switch cases at expected depth)
  • Expect green windows-x64 (vulkan) and linux-x64-vulkan checks — first time since the inkling merge

The inkling merge resolution dropped the closing brace of the turbo-type
guard in ggml_backend_vk_device_supports_op (case GGML_OP_SET_ROWS): the
inner %128 head-dim check closed, but the outer turbo if never did. Every
subsequent function body nested one level deeper and both Vulkan builds
(linux, windows) failed with a cascade of 'function-definition is not
allowed here' errors from 066cc29 onward.

Also corrects the wrong MERGE_NOTES claim that Vulkan lacks TURBO_WHT —
fork kernels for TURBO_WHT / turbo set_rows / GATED_DELTA_NET exist and
predate the merge; only turbo3 FA SPIR-V and banded/lightning kernels are
genuinely absent. dev-build concurrency now serializes pushes per ref.
@github-actions github-actions Bot added documentation Improvements or additions to documentation ggml Vulkan devops labels Jul 20, 2026
worthant added 3 commits July 20, 2026 18:08
The server exposes llama_build_info() as the OpenAI-compatible
system_fingerprint and clients parse it (server unit tests assert it
starts with 'b'; the Atomic-Chat plugin gates features on the b-number).
The turboquant semver stays available via turboquant_version() and the
--version output. Caught by unit/test_chat_completion.py on the dev
staging run — exactly what the channel is for.
…ase notes

Version/tag format is now b<upstream>-X.Y.Z (e.g. b10018-1.0.0): the
upstream llama.cpp build the fork is based on, plus the fork's own semver
(minor for features like new turbo-ops backends, patch for fixes). The
upstream part is derived from 'git rev-list --count' of the merge-base
with the upstream mirror branch and is updated by hand in upstream-sync
PRs. --version now reports 'version: b10018-1.0.0 (build N, commit sha)'.

All release/dev-channel notes rewritten in English to match the project's
existing release style.
@worthant worthant changed the title vulkan: fix missing brace that broke both Vulkan builds since the inkling merge vulkan: fix build-breaking merge artifact; versioning scheme; CI polish Jul 20, 2026
@worthant
worthant merged commit c1ad2df into dev Jul 20, 2026
13 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops documentation Improvements or additions to documentation ggml Vulkan

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant