You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LCORE-1872: Launch Llama Stack container via Makefile orchestration
Enables LCORE to automatically launch Llama Stack as a containerized service
through Makefile orchestration. Running make run now handles all infrastructure setup:
i) building the container image
ii) stopping any existing instance
iii) launching a fresh llama-stack container
iv) waiting for started container's health check
v) and finally starting the lightspeed-stack service.
Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
Copy file name to clipboardExpand all lines: README.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,20 +178,22 @@ To quickly get hands on LCS, we can run it using the default configurations prov
178
178
```bash
179
179
export OPENAI_API_KEY=sk-xxxxx
180
180
```
181
-
3. start Llama stack server
181
+
3. start LCS server
182
182
```bash
183
-
uv run llama stack run local-run.yaml
184
-
```
185
-
4. [Optional] If you're new to Llama stack, run through a quick tutorial to learn the basics of what the server is used for, by running the interactive tutorial script
186
-
```bash
187
-
./scripts/llama_stack_tutorial.sh
188
-
```
189
-
5. check the LCS settings in [lightspeed-stack.yaml](lightspeed-stack.yaml). `llama_stack.url` should be `url: http://localhost:8321`
190
-
6. start LCS server
191
-
```
192
183
make run
193
-
```
194
-
7. access LCS web UI at [http://localhost:8080/](http://localhost:8080/)
184
+
```
185
+
4. access LCS web UI at [http://localhost:8080/](http://localhost:8080/)
186
+
187
+
**Note**: `make run` uses containerized llama-stack (service mode). To run llama-stack manually instead, see the [Llama Stack as separate server](#llama-stack-as-separate-server) section below.
188
+
189
+
## Container Runtime Requirements
190
+
191
+
The Makefile requires either Podman or Docker to launch the Llama Stack container:
192
+
193
+
- **Podman** (recommended for RHEL/Fedora): `sudo dnf install podman`
194
+
- **Docker**: Install from [docker.com](https://docs.docker.com/get-docker/)
195
+
196
+
The Makefile will auto-detect which runtime is available.
0 commit comments