mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 04:00:28 +00:00
Use the new MLX kernels to handle the BF16 matmul. (#2470)
This commit is contained in:
@ -173,8 +173,8 @@ impl Device {
|
||||
|
||||
pub fn supports_bf16(&self) -> bool {
|
||||
match self {
|
||||
Self::Cuda(_) => true,
|
||||
Self::Metal(_) | Self::Cpu => false,
|
||||
Self::Cuda(_) | Self::Metal(_) => true,
|
||||
Self::Cpu => false,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user