mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 19:58:35 +00:00
Use a type alias for cuda errors.
This commit is contained in:
@ -35,7 +35,7 @@ pub enum Error {
|
||||
},
|
||||
|
||||
#[error(transparent)]
|
||||
Cudarc(#[from] cudarc::driver::DriverError),
|
||||
Cudarc(#[from] crate::cuda_backend::Error),
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
Reference in New Issue
Block a user