Skip to content

chore(native): sync native release b9982#302

Merged
leehack merged 3 commits into
mainfrom
automation/native-sync-b9982
Jul 13, 2026
Merged

chore(native): sync native release b9982#302
leehack merged 3 commits into
mainfrom
automation/native-sync-b9982

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Automated sync from leehack/llamadart-native release b9982.

Changes:

  • Updates hook/build.dart and the Apple SwiftPM binary target to b9982.
  • Syncs headers and regenerates lib/src/backends/llama_cpp/bindings.dart.
  • Updates current README, support-matrix, companion README, and changelog native-pin references.
  • Initializes mtmd_input_text.text_len with the normalized prompt's UTF-8 byte length. This is required by the new b9982 mtmd ABI and preserves embedded NUL bytes safely.
  • Keeps LiteRT-LM at v0.14.0-native.2; no companion/core package version or release is included.

Native version checklist:

  • b9982 publishes the expected header, Apple XCFramework, Android, iOS, Linux, macOS, and Windows assets.
  • Apple SwiftPM pin and checksum changed with the native archive.
  • Current docs and CHANGELOG.md reflect the new default pin.
  • LiteRT-LM sync was intentionally not requested.
  • No companion/core package publication is included.

Validation:

  • dart format --output=none --set-exit-if-changed lib/src/backends/llama_cpp/llama_cpp_service.dart
  • dart analyze lib/src/backends/llama_cpp/llama_cpp_service.dart
  • dart test -p vm -j 1 test/unit/backends/llama_cpp/llama_cpp_service_test.dart --exclude-tags local-only
  • dart test -p vm -j 1 test/unit/hook --exclude-tags local-only
  • dart test -p vm -j 1 --exclude-tags local-only (1296 passed; 66 documented fixture-dependent skips)
  • ./tool/docs/build_site.sh
  • ./tool/docs/validate_links.sh
  • dart run tool/testing/verify_release_docs_versions.dart
  • Real cached Unsloth Qwen3.5 0.8B + mmproj multimodal E2E on b9982, with a non-ASCII prompt on CPU and Metal (both produced non-empty output).
  • [!] Whole-repository dart analyze is currently blocked by unrelated unresolved example-package dependencies; the changed library analyzes cleanly.

@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Chat app preview removed for leehack/llamadart-chat-pr-302.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Syncs the repository to leehack/llamadart-native release/tag b9982 by updating the native pin across hook/configuration docs, Apple SwiftPM artifact metadata, and regenerated Dart FFI bindings for the updated native headers.

Changes:

  • Updated the default llamadart-native pin to b9982 in the native-assets hook and user-facing docs/READMEs.
  • Refreshed Apple SwiftPM binary target tag/checksum for the Flutter companion package.
  • Regenerated lib/src/backends/llama_cpp/bindings.dart, including new ggml op bindings and updated mtmd struct layout.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/docs/platforms/support-matrix.md Updates documented default native pin and bundle availability header to b9982.
website/docs/getting-started/installation.md Updates installation/override examples to use b9982 and corresponding asset name examples.
README.md Updates the “Current default runtime pins” table to b9982.
packages/llamadart_llama_cpp_flutter/README.md Updates SwiftPM pin reference to b9982.
packages/llamadart_llama_cpp_flutter/darwin/llamadart_llama_cpp_flutter/Package.swift Updates SwiftPM binary artifact tag and checksum for b9982.
packages/llamadart_llama_cpp_flutter/CHANGELOG.md Notes the SwiftPM pin update under Unreleased.
lib/src/backends/llama_cpp/bindings.dart Regenerated FFI bindings for the new native header bundle (incl. mtmd struct change).
hook/build.dart Updates the native hook pin constant to b9982.
CHANGELOG.md Adds an Unreleased entry describing the pin sync (but currently leaves a conflicting older pin entry).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md Outdated
Comment thread lib/src/backends/llama_cpp/bindings.dart
@leehack
leehack merged commit a6b9ed4 into main Jul 13, 2026
13 checks passed
@leehack
leehack deleted the automation/native-sync-b9982 branch July 13, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants