Repository navigation
chore(deps): repin candle 65ecb58 -> c1e6756 (upstream Cow::Owned UAF fix) - #46
Merged
Merged
Conversation
… fix) Lockstep bump with candle-gen. Upstream PR huggingface/candle#3493 fixes the use-after-free in as_t_slice/QStorage::from_data(Cow::Owned) that candle-gen's sc-9085 quant spike hit (silent garbage quantized weights). The 4-commit range also carries three Metal-only SDPA fixes; no API changes, candle-kernels is byte-identical across the range. CPU test suite green at the new rev. Co-Authored-By: Claude Fable 5 <[email protected]>
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.
Why
candle-gen's sc-9085 quant spike hit an upstream use-after-free:
QStorage::from_data(Cow::Owned…)routed throughas_t_slice, which took the Cow by value and returned a slice into its dropped buffer — silent garbage quantized weights. Upstream fixed it in huggingface/candle#3493 (commitc1e6756a89, 2026-06-18), eight days after our previous pin65ecb58c.What
candle-core/candle-nn/candle-flash-attnrev65ecb58c→c1e6756a89faefa888ea57b056394a0619925b87(lockstep with the candle-gen repin).Risk
The 4-commit range is the UAF fix plus three Metal-only SDPA fixes. No API changes;
candle-kernels/is byte-identical across the range (verified via GitHub compare).Validation
cargo test).cudavia candle-gen-joycaption) runs as part of the paired candle-gen PR.🤖 Generated with Claude Code