Repository navigation
frigate: migrate from tensorflow to ai-edge-litert - #480163
Merged
Merged
Conversation
mweinelt
force-pushed
the
ai-edge-litert
branch
4 times, most recently
from
January 14, 2026 21:48
e33ef64 to
ccd0bfe
Compare
mweinelt
commented
Jan 15, 2026
mweinelt
commented
Jan 15, 2026
mweinelt
commented
Jan 15, 2026
2 of 13 tasks
mweinelt
force-pushed
the
ai-edge-litert
branch
from
January 15, 2026 15:50
ccd0bfe to
173a5b2
Compare
dotlambda
reviewed
Jan 15, 2026
| trim_trailing_whitespace = unset | ||
|
|
||
| [*.json] | ||
| insert_final_newline = unset |
Member
Author
There was a problem hiding this comment.
Because json.dump() does not add a final newline and other encoders might also not do that. Either way we should not require it and I created that commit in response to a discussion with the nixpkgs-ci team.
mweinelt
marked this pull request as ready for review
January 15, 2026 16:37
Member
Author
mweinelt
force-pushed
the
ai-edge-litert
branch
4 times, most recently
from
January 16, 2026 00:44
d0b34c1 to
82bad9e
Compare
The combination of tensorflow-bin and onnxruntime in the same Python interpreter is super fragile. This problem does not seem to exist with tflite-runtime (used upstream) or ai-edge-litert (the successor to tflite). Fixes: NixOS#476181
JSON is often automatically generated and adding a final newline is a manual step, that we shouldn't enforce.
mweinelt
force-pushed
the
ai-edge-litert
branch
from
January 16, 2026 00:45
82bad9e to
1d914bc
Compare
This was for protobuf coexistence between onnxruntime and tensorflow and is not needed any longer.
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.



The combination of tensorflow-bin and onnxruntime in the same Python interpreter is super fragile. This problem does not seem to exist with tflite-runtime (used upstream) or ai-edge-litert (the successor to tflite).
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.