From 649202024c2ec8b771fd7c554f698dc2f58ba51b Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Wed, 23 Aug 2023 09:05:07 +0000 Subject: fix code snippets --- candle-book/src/guide/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'candle-book') diff --git a/candle-book/src/guide/installation.md b/candle-book/src/guide/installation.md index 58bf7054..56d73ad3 100644 --- a/candle-book/src/guide/installation.md +++ b/candle-book/src/guide/installation.md @@ -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 ``` -- cgit v1.2.3