Repository navigation
Conversation
Collaborator
|
Thank you for the sustained contributions across serve, assets, desktop, text, and the consolidated follow-ups — several of those fixes are already on We are closing the remaining open pull requests from this account. The project recently updated how pull requests are reviewed. Please open new work under the current process in Closing these does not reject the ideas in them; please resubmit under that workflow when you want to continue. |
This was referenced Nov 19, 2026
This was referenced Nov 19, 2026
Collaborator
|
Closing as noted above. |
2 of 3 tasks
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
The on-device converter can reuse stale outputs after its inputs change, silently skip requested numerical verification, and fail late for an already accepted source-directory spelling. Its runtime repacker also expands an entire quantized tensor at once.
This PR keeps four independent commits within the conversion pipeline:
--compare-againstis now checked on cache hits too.--verify alland sampled verification. Check every selected Q4_1 chunk and the interleaved BA values against the MLX-side values. Existing FP16 exemptions remain limited to the specific 32-value blocks; they cannot hide a mismatch elsewhere in the row.--verify 0preserves the first-row sentinel, and invalid options fail before conversion.edge0_35bis used, move the completed runtime artifact to the canonicaledge0-35b.ggufbefore the LoRA verifier consumes it. Both default and custom output directories work, including repeat cache hits.The copied converter modifications are recorded in
ORIGIN.jsonand the affected source headers. Historical comparisons include all 161 existing PRs and 53 non-PR issues: #171 is the separate prerouter reader, #181 is bounded GGUF metadata reading, #189 reuses source digests inmake_assets, and #128 / #135 address the old hardcoded base directory. None implements these changes.Area
edge0-infer/)edge0-infer/tools/assets/)edge0-infer/examples/)docs/)How was it tested?
Linux x86_64, Python 3.12.14, NumPy 2.3.5. Fixtures are valid synthetic safetensors inputs passed through the actual runtime converter and LoRA verifier, yielding 703 base tensors and 100 adapter tensors.
Before each corresponding fix: cache regressions had 6 failures / 1 unchanged-input control pass; the chunk bound test failed; verification regressions had 8 failures / 4 controls passing; both underscore-directory CLI cases failed with
E-BASE-MISSING. Targeted suites and the final complete asset L1 selection pass after the fixes. The verification regressions use controlled packed-output faults to show that non-first rows, later chunks, BA values and non-exempt blocks are checked.The 3-row chunk test deliberately crosses a non-aligned boundary and leaves a final partial chunk; its complete GGUF bytes match full-tensor packing.
For a separate synthetic corpus with a 32768-row vocabulary, hidden width 256 and 703 tensors, fresh-process conversion measurements were:
Both produce SHA-256
6a4d65667331679e9e7d13945cc9ce6b1a643fa392f60c2f1df108ed18451162. These are small-corpus conversion memory measurements, not real-35B inference or device benchmarks; no runtime throughput claim is made. Higher asset/device test levels were not run here.Checklist
ctest --preset cpu -L "L0|L1"passes locally inedge0-infer/(engine changes)edge0-infer/docs/testing.md)