Skip to content

chore(deps): repin candle 65ecb58 -> c1e6756 (upstream Cow::Owned UAF fix) - #46

Merged
michaeltrefry merged 1 commit into
mainfrom
claude/candle-repin-c1e6756
Jul 2, 2026
Merged

michaeltrefry merged 1 commit into
mainfrom
claude/candle-repin-c1e6756

Conversation

@michaeltrefry

Copy link
Copy Markdown
Contributor

Why

candle-gen's sc-9085 quant spike hit an upstream use-after-free: QStorage::from_data(Cow::Owned…) routed through as_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 (commit c1e6756a89, 2026-06-18), eight days after our previous pin 65ecb58c.

What

  • Bump candle-core / candle-nn / candle-flash-attn rev 65ecb58c → c1e6756a89faefa888ea57b056394a0619925b87 (lockstep with the candle-gen repin).
  • Relock.

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

  • Full CPU test suite green at the new rev (cargo test).
  • The candle-gen CUDA gate (which builds this crate with cuda via candle-gen-joycaption) runs as part of the paired candle-gen PR.

🤖 Generated with Claude Code

… 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant