mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
fix code snippets
This commit is contained in:
@ -25,7 +25,7 @@ cd myapp
|
||||
|
||||
Make sure to add the `candle-core` crate with the cuda feature:
|
||||
|
||||
```
|
||||
```bash
|
||||
cargo add --git https://github.com/huggingface/candle.git candle-core --features "cuda"
|
||||
```
|
||||
|
||||
@ -47,7 +47,7 @@ cargo add --git https://github.com/huggingface/candle.git candle-core
|
||||
|
||||
Finally, run `cargo build` to make sure everything can be correctly built.
|
||||
|
||||
```
|
||||
```bash
|
||||
cargo run
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user