Files
foxhunt/crates
jgrusewski 45487206bd fix(ml): allow BF16/F16 in Mamba2 scalar_tensor helper
Previously scalar_tensor() rejected BF16 and F16 with an error,
blocking BF16 training for Mamba2. Now BF16/F16 scalars are created
as F32 then cast to the target dtype, matching Candle's internal
precision requirements while supporting half-precision training.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 16:10:25 +01:00
..