diff --git a/docs/reference/models/llamacpp.md b/docs/reference/models/llamacpp.md index 24b0fdc97..51b62eca8 100644 --- a/docs/reference/models/llamacpp.md +++ b/docs/reference/models/llamacpp.md @@ -4,7 +4,11 @@ Outlines provides an integration with [Llama.cpp](https://github.com/ggerganov/l !!! Note "Installation" - You need to install the `llama-cpp-python` library to use the llama.cpp integration. See the [installation section](#installation) for instructions to install `llama-cpp-python` with CUDA, Metal, ROCm and other backends. + You need to install the `llama-cpp-python` library to use the llama.cpp integration. See the [installation section](#installation) for instructions to install `llama-cpp-python` with CUDA, Metal, ROCm and other backends. To get started quickly you can also run: + + ```bash + pip install "outlines[llamacpp]" + ``` ## Load the model diff --git a/docs/reference/models/mlxlm.md b/docs/reference/models/mlxlm.md index cf7bb7443..d435b9c1f 100644 --- a/docs/reference/models/mlxlm.md +++ b/docs/reference/models/mlxlm.md @@ -4,7 +4,11 @@ Outlines provides an integration with [mlx-lm](https://github.com/ml-explore/mlx !!! Note "Installation" - You need to install the `mlx` and `mlx-lm` libraries on a device which [supports Metal](https://support.apple.com/en-us/102894) to use the mlx-lm integration. + You need to install the `mlx` and `mlx-lm` libraries on a device which [supports Metal](https://support.apple.com/en-us/102894) to use the mlx-lm integration. To get started quickly you can also run: + + ```bash + pip install "outlines[mlxlm]" + ``` ## Load the model diff --git a/docs/reference/models/openai.md b/docs/reference/models/openai.md index 5c737c916..638107568 100644 --- a/docs/reference/models/openai.md +++ b/docs/reference/models/openai.md @@ -2,7 +2,11 @@ !!! Installation - You need to install the `openai` library to be able to use the OpenAI API in Outlines. + You need to install the `openai` library to be able to use the OpenAI API in Outlines. Or alternatively: + + ```bash + pip install "outlines[openai]" + ``` ## OpenAI models diff --git a/docs/reference/models/transformers.md b/docs/reference/models/transformers.md index 2a13e28ec..f4c319540 100644 --- a/docs/reference/models/transformers.md +++ b/docs/reference/models/transformers.md @@ -3,10 +3,10 @@ !!! Installation - You need to install the `transformer`, `datasets` and `torch` libraries to be able to use these models in Outlines: + You need to install the `transformer`, `datasets` and `torch` libraries to be able to use these models in Outlines, or alternatively: ```bash - pip install torch transformers datasets + pip install "outlines[transformers]" ``` diff --git a/docs/reference/models/vllm.md b/docs/reference/models/vllm.md index fb1c830fa..8789b588e 100644 --- a/docs/reference/models/vllm.md +++ b/docs/reference/models/vllm.md @@ -3,7 +3,11 @@ !!! Note "Installation" - You need to install the `vllm` library to use the vLLM integration. See the [installation section](#installation) for instructions to install vLLM for CPU or ROCm. + You need to install the `vllm` library to use the vLLM integration. See the [installation section](#installation) for instructions to install vLLM for CPU or ROCm. To get started you can also run: + + ```bash + pip install "outlines[vllm]" + ``` ## Load the model