mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 19:47:12 +00:00
Renamed all kernel names.
This commit is contained in:
@ -213,9 +213,9 @@ impl candle::CustomOp1 for SoftmaxLastDim {
|
||||
let command_buffer = device.command_buffer();
|
||||
let kernels = device.kernels();
|
||||
let name = match storage.dtype() {
|
||||
DType::F32 => "softmax_float",
|
||||
DType::F16 => "softmax_half",
|
||||
DType::BF16 => "softmax_bfloat",
|
||||
DType::F32 => "softmax_f32",
|
||||
DType::F16 => "softmax_f16",
|
||||
DType::BF16 => "softmax_bf16",
|
||||
dtype => candle::bail!("softmax-last-dim is not implemented for {dtype:?}"),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user