mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
Expliciting how to enable cuda.
This commit is contained in:
@ -24,6 +24,8 @@ cargo run --example llama --release
|
|||||||
cargo run --example falcon --release
|
cargo run --example falcon --release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In order to use **CUDA** add `--features cuda` to the example command line.
|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ pub struct CudaStorage;
|
|||||||
|
|
||||||
macro_rules! fail {
|
macro_rules! fail {
|
||||||
() => {
|
() => {
|
||||||
unimplemented!("cuda support has not been enabled")
|
unimplemented!("cuda support has not been enabled, add `cuda` feature to enable.")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user