mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 18:48:51 +00:00
Enable the doctests to run with mkl (though they are broken for now). (#126)
This commit is contained in:
@ -70,3 +70,6 @@ pub use cuda_backend::{CudaDevice, CudaError, CudaStorage};
|
||||
|
||||
#[cfg(not(feature = "cuda"))]
|
||||
pub use dummy_cuda_backend::{CudaDevice, CudaError, CudaStorage};
|
||||
|
||||
#[cfg(feature = "mkl")]
|
||||
extern crate intel_mkl_src;
|
||||
|
@ -1,8 +1,5 @@
|
||||
#![allow(dead_code)]
|
||||
|
||||
#[cfg(feature = "mkl")]
|
||||
extern crate intel_mkl_src;
|
||||
|
||||
use candle::{Result, Tensor};
|
||||
|
||||
#[macro_export]
|
||||
|
Reference in New Issue
Block a user