mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
PyO3: Add mkl
support (#1159)
* Add `mkl` support * Set `mkl` path on linux
This commit is contained in:
@ -8,6 +8,9 @@ use std::sync::Arc;
|
||||
|
||||
use half::{bf16, f16};
|
||||
|
||||
#[cfg(feature = "mkl")]
|
||||
extern crate intel_mkl_src;
|
||||
|
||||
use ::candle::{quantized::QTensor, DType, Device, Tensor, WithDType};
|
||||
|
||||
pub fn wrap_err(err: ::candle::Error) -> PyErr {
|
||||
|
Reference in New Issue
Block a user