Skip to content

python bindings#27

Merged
cjpais merged 35 commits into
mainfrom
python-bindings
Jun 12, 2026
Merged

python bindings#27
cjpais merged 35 commits into
mainfrom
python-bindings

Conversation

@cjpais

@cjpais cjpais commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

cjpais and others added 7 commits June 12, 2026 21:44
astral-sh/setup-uv publishes only exact tags (v8.2.0, v8.1.0, ...);
the @v8 pin failed action resolution in 15s on every job. wheel-index.yml
carried the same latent break — it had simply never been dispatched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
main's copy existed only to register the publish workflow for
workflow_dispatch; the branch's version is current (tag-gated
cuda-windows call, smoke-assets path fix).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The previous fix used an end-of-line-anchored pattern; pins followed by
inline comments (cpp-tests x2, co-import) kept @v8 and failed action
resolution at Set-up-job. All 16 pins verified v8.2.0; every other
action ref in the tree verified resolvable against its repo's tags.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The cu12 wheel built inside pip's isolated env (/tmp/build-env-<random>);
ggml-vulkan's vulkan-shaders-gen ExternalProject baked that env's ninja
path into an inner CMake cache on the persistent build volume, so the
next run invoked a ninja that no longer existed (first surfaced when D1
added TRANSCRIBE_VULKAN=ON — the first ExternalProject in this tree,
poisoned by a cancelled run's background-committed state). Build with
--no-isolation against image-provided build/scikit-build-core/ninja
(stable paths) and bump BUILD_CACHE_EPOCH to rotate the poisoned tree.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The gate builds ggml with the default GGML_NATIVE=ON (-march=native);
ccache hashes the literal flag, not the resolved ISA, so a cache
populated on a richer-ISA Blacksmith machine restored onto a weaker one
links AVX-512 objects that SIGILL at runtime (observed: 11/22 ILLEGAL
in cpp-tests-sanitized on the first cross-machine restore). Segregate
caches by a hash of /proc/cpuinfo flags; native builds keep testing
machine-tuned kernels, hits resume whenever the fleet repeats a CPU.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
A truncated GitHub release download (gzip: unexpected end of file)
failed the image build. -f + --retry to a temp file, then extract.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The --no-isolation switch (1f167d4) moved ninja to a stable image path
but removed the only thing that had put a ninja on PATH: pip's isolated
env scripts dir. scikit-build-core passes CMAKE_MAKE_PROGRAM to the
top-level configure only, so vulkan-shaders-gen's inner CMake configure
falls back to a PATH search and died with "unable to find a build
program corresponding to Ninja" (the CMAKE_C_COMPILER errors are
cascade). Prepend /opt/python/cp312-cp312/bin to PATH and bump
BUILD_CACHE_EPOCH to e3 to rotate the tree whose inner cache
background-committed CMAKE_MAKE_PROGRAM-NOTFOUND.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cjpais cjpais merged commit 25d4fc3 into main Jun 12, 2026
19 checks passed
@cjpais cjpais deleted the python-bindings branch June 12, 2026 23:35
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.

1 participant