Skip to content

Commit

Permalink
Add usage notes on prompt caching and update comment on debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
setzer22 committed Mar 17, 2023
1 parent b8ec4ef commit e7b9a50
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@ Make sure you have a rust toolchain set up.
3. Build (`cargo build --release`)
4. Run with `cargo run --release -- <ARGS>`

Some additional things to try:

- Use `--help` to see a list of available commands.
- Prompt files can be precomputed to speed up processing using the
`--cache-prompt` and `--restore-prompt` flags.

[^1]: The only legal source to get the weights at the time of writing is [this repository](https://github.com/facebookresearch/llama/blob/main/README.md#llama). The choice of words also may or may not hint at the existence of other kinds of sources.

**NOTE**: Make sure to build and run in release mode. Debug builds are currently broken.
**NOTE**: For best results, make sure to build and run in release mode. Debug builds are going to be very slow.

For example, you try the following prompt:

Expand Down

0 comments on commit e7b9a50

Please sign in to comment.