Skip to content

Commit 6a0b504

Browse files
authored
Merge pull request #179 from rh-ai-quickstart/release/v0.2.42
Release v0.2.42
2 parents f4d366d + 768c597 commit 6a0b504

5 files changed

Lines changed: 22 additions & 22 deletions

File tree

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,6 @@ This QuickStart allows users to explore the capabilities of RAG by:
100100
| Generation | `meta-llama/Meta-Llama-3-70B-Instruct` | A100 x2/HPU | p4d.24xlarge
101101
| Safety | `meta-llama/Llama-Guard-3-8B` | L4/HPU | g6.2xlarge
102102

103-
- Note: Developers can also use a remote LLM via the command line (see [Remote LLM Deployment](#remote-llm-deployment-example)) or by modifying the `rag-values.yaml` file directly:
104-
105-
```yaml
106-
global:
107-
models:
108-
remote-llm:
109-
id: meta-llama/Llama-3.3-70B-Instruct
110-
url: https://somedomain.com/v1
111-
apiToken: fake-token
112-
enabled: true
113-
```
114-
115103
Note: the 70B model is NOT required for initial testing of this example. The safety/shield model `Llama-Guard-3-8B` is also optional.
116104

117105
### Installation Steps
@@ -250,7 +238,6 @@ make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct SAFETY=llama-gu
250238

251239
# Xeon deployment
252240
make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct SAFETY=llama-guard-3-8b DEVICE=xeon
253-
254241
```
255242

256243
**Remote LLM Deployment Example:**
@@ -259,23 +246,36 @@ To connect to a remote LLM endpoint instead of deploying a local model, use `LLM
259246

260247
```bash
261248
make install NAMESPACE=llama-stack-rag \
262-
LLM=remote-llm \
249+
LLM=remotellm \
263250
LLM_URL=https://my-model-endpoint.example.com/v1 \
264-
LLM_API_TOKEN=my-api-token
251+
LLM_API_TOKEN=my-api-token \
252+
LLM_ID=llm_model_id
265253
```
266-
267254
| Parameter | Description |
268255
|-----------|-------------|
269-
| `LLM=remote-llm` | Indicates a remote model (no local vLLM deployment) |
256+
| `LLM=remotellm` | Indicates a remote model (no local vLLM deployment) |
270257
| `LLM_URL` | The base URL of the remote model endpoint |
271258
| `LLM_API_TOKEN` | Authentication token for the remote endpoint |
259+
| `LLM_ID` | The model of the llm you wish to use |
272260

273261
This skips local model deployment and configures LlamaStack to use the remote inference endpoint directly. No GPU or HF token is required for the LLM.
274262

275263
When prompted, enter your **[Hugging Face Token](https://huggingface.co/settings/tokens)**.
276264

277265
Note: This process may take 10 to 30 minutes depending on the number and size of models to be downloaded.
278266

267+
- Note: Developers can also use a remote LLM via the helm chart (see [Remote LLM Deployment](#remote-llm-deployment-example)) or by modifying the `rag-values.yaml` file directly:
268+
269+
```yaml
270+
global:
271+
models:
272+
remotellm:
273+
id: meta-llama/Llama-3.3-70B-Instruct
274+
url: https://llm-gateway.com/v1
275+
apiToken: api-token
276+
enabled: true
277+
```
278+
279279
7. **Monitor Deployment**
280280
281281
```bash

deploy/helm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ help: ## Show this help message
270270
@echo -e " make install NAMESPACE=my-rag LLM=llama-3-2-3b-instruct LLM_TOLERATION=\"nvidia.com/gpu\""
271271
@echo -e ""
272272
@echo -e " $(BLUE)Option 3:$(NC) Using command-line parameters with remote LLM"
273-
@echo -e " make install NAMESPACE=my-rag LLM=remote-llm LLM_URL=https://<<llm-url>>/v1 LLM_API_TOKEN=<<llm-api-token>>"
273+
@echo -e " make install NAMESPACE=my-rag LLM=remotellm LLM_URL=https://<<llm-url>>/v1 LLM_API_TOKEN=<<llm-api-token>>"
274274

275275
# Dependency checks
276276
.PHONY: check-deps

deploy/helm/rag-values.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ global:
103103
# To configure LlamaStack with remote llm, replace the id,
104104
# url and apiToken value and set enabled to true
105105

106-
# remote-llm:
106+
# remotellm:
107107
# id: custom-model-id
108108
# url: https://custom-server-url/v1
109109
# apiToken: fake-token

deploy/helm/rag/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: rag
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 0.2.41
6-
appVersion: "0.2.41"
5+
version: 0.2.42
6+
appVersion: "0.2.42"
77

88
dependencies:
99
- name: pgvector

deploy/helm/rag/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ replicaCount: 1
33
image:
44
repository: quay.io/rh-ai-quickstart/llamastack-dist-ui
55
pullPolicy: Always
6-
tag: 0.2.41
6+
tag: 0.2.42
77

88
service:
99
type: ClusterIP

0 commit comments

Comments
 (0)