Fix missing origin for mlmodelc files#2799
Merged
aaronsky merged 4 commits intobazelbuild:masterfrom Nov 11, 2025
Merged
Conversation
Contributor
|
Thanks for the fix, @jflan-dd. Is there any addition to this relatively simple test that could help with this regressing in the future? rules_apple/test/apple_core_ml_library_package_test.sh Lines 58 to 66 in e61da8f |
Contributor
Author
|
@mattrobmattrob I'll try and get the tests updated tomorrow |
Contributor
Author
|
I added a test. I'm new to writing tests for Bazel. I'm very open to nitpick-y feedback. |
luispadron
approved these changes
Oct 24, 2025
aaronsky
approved these changes
Oct 30, 2025
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.
Bundling a .mlmodel file into a resource bundle results in the following error:
I made an example repo to demonstrate the issue here:
https://github.com/jflan-dd/coreml-FastViT-T8
This fix adds the
.mlmodelto.mlmodelcmapping toprocessed_origins