mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 02:16:37 +00:00

* add the sign unary operator * remove uneeded import * remove uneeded import * undo formatting * undo formatting * remove unnecessary redefintion * allow gradient to flow through for sign and round * fix cpu ops to ensure that negzero and positive zero are handled properly * clippy fixes * Properly avoid gradient tracking. * Use a branchless version. --------- Co-authored-by: laurent <laurent.mazare@gmail.com>
candle-kernels
This crate contains CUDA kernels used from candle. Some of these implementations come from the dfdx crate.