Fix CI workflow and add TFLite checksums#202
Merged
Conversation
Bump version to 0.12.7
- Add nullptr checks for TFLite options, input/output tensors - Validate tensor dimensions > 0 in fromFile() - Guard empty JAR_CHECKSUM on Linux (skip verification) - Add TFLite checksum placeholder + verification in all build scripts - Detect active embedding model changes in createEmbeddingModel() - Use try-finally in DesktopEmbeddingModel.close()
- Replace deprecated macos-13 with macos-15-large (x86_64) - Update macos-14 to macos-15 (ARM64) - Replace npm/choco bazelisk install with bazel-contrib/setup-bazel@0.19.0 - Pin windows-2022 for TF 2.19.0 compatibility
macOS x86_64 runner (macos-15-large) requires paid plan. Apple Silicon dominates for on-device AI use cases.
Checksums from TF 2.19.0 build artifacts (v0.12.7 release): - darwin_arm64: 465257ce... - linux_amd64: 2a26d117... - linux_arm64: 1a3d3984... - windows_amd64: 44fb8b28...
- Add missing Linux JAR_CHECKSUM (same JAR as macOS/Windows) - Fix TfLiteInterpreter leak when tokenizer loading fails - Fix stale embedding singleton when active model becomes null - Revert JAR_VERSION to 0.12.6 (JAR not in v0.12.7 release)
Resolve conflicts keeping our fixes: CI runners, checksums, JAR_VERSION=0.12.6, interpreter leak fix, stale singleton fix.
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
build-tflite.ymlCI workflow that failed after merge of Add desktop embeddings via TFLite C FFI #201macos-13runner withmacos-15, remove paidmacos-15-large(x86_64)npm install -g @bazel/bazeliskwithbazel-contrib/setup-bazel@0.19.0windows-2022for TF 2.19.0 compatibilityfail-fast: falseso one failing job doesn't cancel others