From cf9e5b76b23980ece0d73f897a71e9a2855416bd Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Wed, 16 Oct 2024 23:52:29 -0700 Subject: [PATCH] Update getting_started.md --- docs/getting_started.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/getting_started.md b/docs/getting_started.md index 157fbb0ff6..71fb39c602 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -23,10 +23,7 @@ $CONDA_PREFIX/bin/pip install -e . For what you can do with the Llama CLI, please refer to [CLI Reference](./cli_reference.md). -## Starting the Llama Stack Server - -## Quick Cheatsheet -This guides allows you to quickly get started with building and running a Llama Stack server in < 5 minutes! +## Quick Starting Llama Stack Server #### Starting up server via docker @@ -55,7 +52,7 @@ docker run -it -p 5000:5000 -v ~/.llama:/root/.llama --gpus=all llamastack/llama > [!TIP] > Pro Tip: We may use `docker compose up` for starting up a distribution with remote providers (e.g. TGI) using [llamastack-local-cpu](https://hub.docker.com/repository/docker/llamastack/llamastack-local-cpu/general). You can checkout [these scripts](../llama_stack/distribution/docker/README.md) to help you get started. -#### Build->Configure->Run via conda +#### Build->Configure->Run Llama Stack server via conda You may also build a LlamaStack distribution from scratch, configure it, and start running the distribution. This is useful for developing on LlamaStack. **`llama stack build`** @@ -163,6 +160,7 @@ INFO: Application startup complete. INFO: Uvicorn running on http://[::]:5000 (Press CTRL+C to quit) ``` +## Building a Distribution ## Step 1. Build In the following steps, imagine we'll be working with a `Meta-Llama3.1-8B-Instruct` model. We will name our build `8b-instruct` to help us remember the config. We will start build our distribution (in the form of a Conda environment, or Docker image). In this step, we will specify: