Skip to content

Commit

Permalink
Merge pull request #278 from danbev/llm-chain-llama-sys-update
Browse files Browse the repository at this point in the history
docs: update llm-chain-llama-sys README.md
  • Loading branch information
williamhogman authored Mar 7, 2024
2 parents bb57935 + d95a3ea commit b8c1f4e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions crates/llm-chain-llama-sys/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# llama-sys
# llm-chain-llama-sys

llama-sys is a set of bindgen generated wrappers for llama.cpp. This crate provides a low-level interface to llama.cpp, allowing you to use it in your Rust projects. To use llama-sys, simply add the following to your Cargo.toml file:
llm-chain-llama-sys is a set of bindgen generated wrappers for llama.cpp. This crate provides a low-level interface to llama.cpp, allowing you to use it in your Rust projects. To use llm-chain-llama-sys, simply add the following to your Cargo.toml file:

```toml
[dependencies]
llama-sys = "0.1.0"
llm-chain-llama-sys = "0.1.0"
```

```rust
use llama_sys::\*;
use llm-chain-llama-sys::*;
```

Note that llama-sys provides a lower-level interface than llm-chain-llama, and may be more difficult to use. However, if you need fine-grained control over llama.cpp, llama-sys is the way to go.
Note that llm-chain-llama-sys provides a lower-level interface than llm-chain-llama, and may be more difficult to use. However, if you need fine-grained control over llama.cpp, llm-chain-llama-sys is the way to go.

## Updating llama.cpp submodule
To update the llama.cpp submodule, run the following command:
Expand Down

0 comments on commit b8c1f4e

Please sign in to comment.