Skip to content

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rlouf committed Mar 25, 2024
1 parent 55c2b96 commit d825d0c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,22 @@ Outlines supports OpenAI, transformers, Mamba, llama.cpp and exllama2 but **you
pip install openai
pip install transformers datasets accelerate
pip install llama-cpp-python
pip install exllamav2
pip install mamba_ssm
```

If you encounter any problem using Outlines with these libraries, take a look at their installation instructions. The installation of `openai` and `transformers` should be straightforward, but other libraries have specific hardware requirements.

## Bleeding edge

You can install the latest version of Outlines on the repository's `main` branch:

```python
pip install git+https://github.com/outlines-dev/outlines.git@main
```

This can be useful, for instance, when a fix has been merged but not yet released.

## Installing for development

See the [contributing documentation](community/contribute.md) for instructions on how to install Outlines for development.

0 comments on commit d825d0c

Please sign in to comment.