Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgift committed Aug 27, 2023
1 parent 6d22c2a commit d358f9c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
### Installation (GPU works for most)

* Follow steps from [Hugging Face](https://huggingface.github.io/candle/guide/installation.html)
* Run `make verify` to ensure CUDA comipler driver and GPU capability
* Verify CUDA:
- `cargo run --features cuda --example whisper --release`
- `cargo run --features cuda --example bert --release`
* Run `make verify` to ensure CUDA compiler driver and GPU capability

#### Verify CUDA:

* Run the following commands to verify your setup:
* `cargo run --features cuda --example whisper --release`
* `cargo run --features cuda --example bert --release`


This repo contains a pre-configured [GitHub .devcontainer](https://github.com/nogibjj/rust-candle-demos/tree/main/.devcontainer) that sets up CUDA for you. It utilizes the [features shown here](https://docs.github.com/en/enterprise-cloud@latest/codespaces/developing-in-codespaces/getting-started-with-github-codespaces-for-machine-learning#configuring-nvidia-cuda-for-your-codespace).

Expand Down

0 comments on commit d358f9c

Please sign in to comment.