feat: package llama.cpp b10069 as a C++23 module - #1
Merged
Conversation
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.
Summary
b10069checkpoint as the C++23 moduleimport llamacpp;.Consumer Usage
After
0.1.0is released and published by a separate mcpp-index PR:Equivalent CPU dependency:
Metal on macOS ARM64:
Minimal consumer:
This is a source package. mcpp resolves the index entry, downloads and verifies the immutable tag archive, extracts it into the package cache, and builds it for the consumer target. Users do not manually unpack the release archive. GGUF model files are not included.
Supported Boundary
backend-metal0.1.0does not includemtmd, CUDA, Vulkan, RPC, C++17 consumer compatibility, or a claim that every upstream model architecture has been tested. Deprecated upstream C APIs remain exported and may emit upstream deprecation warnings when used.Local Validation
112Python unit tests pass.1/7offloaded layers, a9.34 MiBMTL0 model buffer, and a7.88 MiBMTL0 compute buffer.33/33layers.PT_INTERP, and ARM-only architecture sources.actionlintvalidation.GitHub Actions on this PR remain authoritative for the complete Linux x86_64, Linux ARM64, Windows x86_64, macOS ARM64, and Metal matrix.
Upstream And Release Policy
This PR does not create a tag, GitHub Release, or mcpp-index entry. After merge, the release tag is created only after the merge commit has a successful complete CI run; mcpp-index publication is a separate cold-consumer PR.