mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 03:28:50 +00:00
Enable the affine kernel for u8/u32. (#2376)
This commit is contained in:
@ -119,6 +119,8 @@ impl BackendStorage for MetalStorage {
|
||||
DType::F32 => "affine_f32",
|
||||
DType::F16 => "affine_f16",
|
||||
DType::BF16 => "affine_bf16",
|
||||
DType::U8 => "affine_u8",
|
||||
DType::U32 => "affine_u32",
|
||||
dtype => crate::bail!("Metal contiguous affine {dtype:?} not implemented"),
|
||||
};
|
||||
candle_metal_kernels::call_affine(
|
||||
|
Reference in New Issue
Block a user