mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 19:18:50 +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:
|
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"
|
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.
|
Finally, run `cargo build` to make sure everything can be correctly built.
|
||||||
|
|
||||||
```
|
```bash
|
||||||
cargo run
|
cargo run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user