Repository navigation
fix(assets): consolidate validation and comparison fixes - #290
Merged
shuk777 merged 5 commits intoNov 18, 2026
Merged
Conversation
Combine Edge0-AI#250, Edge0-AI#262, Edge0-AI#269, and Edge0-AI#274 in response to the maintainer's theme-grouping request. Preserve the original branch histories and validate the combined checker and regressions.
This was referenced Nov 17, 2026
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.
What & why
This is the consolidated asset-checking PR requested in the theme-grouping review. It supersedes #250, #262, #269, and #274.
The combined change keeps four related improvements in one reviewable branch:
assets.tsvas literal tab-separated columns, require exactly four fields and ASCII decimal byte counts, and require an integer manifest version. Valid leading-zero byte counts remain supported.Integration
The branch is based on
bc2dc409d420097b4e864d511901180d7c2c6bac. Its merge commit retains the four original PR heads as parents, preserving their commit histories. The combined diff is limited to the asset checker, GGUF reader, model-specific metadata checks, and their tests.Area
edge0-infer/tools/assets/)How was it tested?
Validation below was run on the combined tree on Linux with Python 3.12:
inspectparity on nine complete tiny-model fixtures: seven malformed cases rejected by both the combined checker and native loader; two valid controls accepted by both.moe_test_app_generation,moe_test_platform_memory,moe_test_ordered_json, andmoe_test_template_tools; the same four failures were reproduced in the recorded upstream-base run. The full local gate is therefore not green.git diff --check: passed.Checklist