Skip to content

Commit 60c9a06

Browse files
authored
Update README.md
1 parent f1c0ed5 commit 60c9a06

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

README.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,21 @@ dead simple, very close to raw bindings, and does not follow semver meaningfully
2424

2525
Check out the [docs.rs] for crate documentation or the [readme] for high level information about the project.
2626

27-
## Try it out!
27+
## Try it
2828

2929
Clone the repo
3030

3131
```bash
3232
git clone --recursive https://github.com/utilityai/llama-cpp-rs
33-
```
34-
35-
Enter the directory
36-
37-
```bash
3833
cd llama-cpp-rs
3934
```
4035

41-
Run the simple example
36+
Run the simple example (add `--featues cublas` if you have a cuda gpu)
4237

4338
```bash
4439
cargo run --release --bin simple "The way to kill a linux process is" hf-model TheBloke/Llama-2-7B-GGUF llama-2-7b.Q4_K_M.gguf
4540
```
4641

47-
Or if you have a GPU and want to use it
48-
49-
```bash
50-
cargo run --features cublas --release --bin simple "The way to kill a linux process is" hf-model TheBloke/Llama-2-7B-GGUF llama-2-7b.Q4_K_M.gguf
51-
```
52-
5342
<details>
5443
<summary>Output</summary>
5544
<pre>
@@ -166,4 +155,4 @@ or if you have already cloned the project you can run:
166155

167156
```sh
168157
git submodule update --init --recursive
169-
```
158+
```

0 commit comments

Comments
 (0)