Remove LiteRT-LM support for 0.11.0 - #238
Merged
Merged
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Restore the llama.swift and swift-huggingface pins in Package.resolved to preserve reproducible supported builds.
Pull request overview
This pull request removes LiteRT-LM support ahead of 0.11.0 to prevent disabled backend dependencies from blocking builds.
Changes:
- Removes LiteRT implementations, tests, traits, and dependency configuration.
- Removes the CI Git LFS workaround.
- Updates README installation examples and removal guidance.
File summaries
| File | Summary |
|---|---|
Tests/AnyLanguageModelTests/LiteRTLanguageModelTests.swift |
Removes LiteRT configuration tests. |
Tests/AnyLanguageModelTests/LiteRTLanguageModelBehaviorTests.swift |
Removes LiteRT behavior tests. |
Sources/AnyLanguageModel/Models/LiteRTRuntime.swift |
Removes the LiteRT runtime adapter. |
Sources/AnyLanguageModel/Models/LiteRTLanguageModel.swift |
Removes the LiteRT model implementation. |
README.md |
Updates installation examples and LiteRT guidance. |
Package.swift |
Removes LiteRT trait and dependency configuration. |
Package.resolved |
Removes LiteRT pins but also drops remaining backend pins that are still declared. |
.github/workflows/ci.yml |
Removes LiteRT build flags and the Git LFS workaround. |
Review details
- Files reviewed: 7/8 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Removes LiteRT-LM support introduced in #229 ahead of 0.11.0 because its dependency can block builds even when the backend is disabled.
This PR removes the
LiteRTtrait,LiteRTLanguageModel, runtime adapter, backend tests, the LiteRT-LM dependency pin, and CI workaround for Git LFS. Updates README installation examples to 0.11.0 and replaces the old workaround instructions with a removal notice at the existing troubleshooting link.