Skip to content

Commit 14fdc09

Browse files
authored
Merge pull request rh-ai-quickstart#131 from rh-ai-quickstart/release/v0.2.31
Release v0.2.31
2 parents 12555a3 + 3a2ce9a commit 14fdc09

4 files changed

Lines changed: 48 additions & 8 deletions

File tree

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ This QuickStart allows users to explore the capabilities of RAG by:
6262
### Minimum hardware requirements
6363
- 1 GPU/HPU with 24GB of VRAM for the LLM, refer to the [chart below](#supported-models)
6464
- 1 GPU/HPU with 24GB of VRAM for the safety/shield model (optional)
65+
- Xeon deployments: one worker node with Intel Xeon processors, Sapphire Rapids (SPR) or newer (EMR/GNR)
66+
- for example: m8i.8xlarge, m7i.8xlarge, r8i.8xlarge
67+
- vLLM requires a minimum of 16 vCPUs and 64 GB of RAM to run
6568

6669
### Minimum software requirements
6770
- OpenShift Client CLI - [oc](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/cli_tools/openshift-cli-oc#installing-openshift-cli)
@@ -92,8 +95,8 @@ This QuickStart allows users to explore the capabilities of RAG by:
9295
| Function | Model Name | Hardware | AWS
9396
|-------------|----------------------------------------|-------------|-------------
9497
| Embedding | `all-MiniLM-L6-v2` | CPU/GPU/HPU |
95-
| Generation | `meta-llama/Llama-3.2-3B-Instruct` | L4/HPU | g6.2xlarge
96-
| Generation | `meta-llama/Llama-3.1-8B-Instruct` | L4/HPU | g6.2xlarge
98+
| Generation | `meta-llama/Llama-3.2-3B-Instruct` | L4<br>HPU<br>Xeon | g6.2xlarge<br>N/A<br>m8i.8xlarge
99+
| Generation | `meta-llama/Llama-3.1-8B-Instruct` | L4<br>HPU<br>Xeon | g6.2xlarge<br>N/A<br>m8i.8xlarge
97100
| Generation | `meta-llama/Meta-Llama-3-70B-Instruct` | A100 x2/HPU | p4d.24xlarge
98101
| Safety | `meta-llama/Llama-Guard-3-8B` | L4/HPU | g6.2xlarge
99102

@@ -220,6 +223,15 @@ To install on CPU nodes only:
220223
make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct DEVICE=cpu
221224
```
222225

226+
**Xeon Deployment Example:**
227+
To install on Xeon nodes only:
228+
229+
```bash
230+
make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct DEVICE=xeon
231+
```
232+
- This assumes that all your worker nodes use Sapphire Rapids (SPR) or newer Intel Xeon processors.
233+
- If you have heterogeneous worker nodes, work with your cluster administrator to identify SPR+ nodes and use taint keys, similar to the GPU and HPU deployments above, to set `LLM_TOLERATION` and `SAFETY_TOLERATION` to schedule on valid nodes.
234+
223235
**Simplified Commands (No Tolerations Needed):**
224236

225237
If you have no tainted nodes (all worker nodes have accelerators), you can use simplified commands:
@@ -233,6 +245,10 @@ make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct SAFETY=llama-gu
233245
234246
# CPU deployment
235247
make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct SAFETY=llama-guard-3-8b DEVICE=cpu
248+
249+
# Xeon deployment
250+
make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct SAFETY=llama-guard-3-8b DEVICE=xeon
251+
236252
```
237253

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

deploy/helm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ help: ## Show this help message
218218
@echo -e " SAFETY - Enable specific safety model (e.g., llama-guard-3-8b)"
219219
@echo -e " LLM_TOLERATION - Set toleration for LLM model (e.g., nvidia.com/gpu)"
220220
@echo -e " SAFETY_TOLERATION - Set toleration for safety model"
221-
@echo -e " DEVICE - Set device type: cpu, gpu, or hpu (default: gpu)"
221+
@echo -e " DEVICE - Set device type: cpu, gpu, hpu or xeon (default: gpu)"
222222
@echo -e " HF_TOKEN - Hugging Face token for model downloads"
223223
@echo -e " LLM_URL - URL for remote LLM service"
224224
@echo -e " SAFETY_URL - URL for remote safety service"
@@ -506,7 +506,7 @@ install: ## Install the RAG deployment
506506
fi; \
507507
if [ -n "$(DEVICE)" ]; then \
508508
echo -e "$(BLUE)[INFO]$(NC) Setting device: $(DEVICE)"; \
509-
HELM_ARGS="$$HELM_ARGS --set llm-service.device='$(DEVICE)'"; \
509+
HELM_ARGS="$$HELM_ARGS --set llm-service.device=$(DEVICE)"; \
510510
fi; \
511511
if [ -n "$(HF_TOKEN)" ]; then \
512512
echo -e "$(BLUE)[INFO]$(NC) Setting HF_TOKEN from command line"; \

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.30
6-
appVersion: "0.2.30"
5+
version: 0.2.31
6+
appVersion: "0.2.31"
77

88
dependencies:
99
- name: pgvector

deploy/helm/rag/values.yaml

Lines changed: 26 additions & 2 deletions
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.30
6+
tag: 0.2.31
77

88
service:
99
type: ClusterIP
@@ -42,6 +42,7 @@ volumeMounts:
4242
# - Use DEVICE=cpu for CPU-only deployment
4343
# - Use DEVICE=gpu for NVIDIA GPU deployment (default)
4444
# - Use DEVICE=hpu for Intel Gaudi HPU deployment (requires Intel Gaudi drivers and setup)
45+
# - Use DEVICE=xeon for Intel Xeon CPU deployment (optimized for large CPU instances, works on SPR/EMR/GNR, requires min 16vCPU and 32GB RAM to run efficiently)
4546

4647
# global:
4748
# models:
@@ -116,7 +117,30 @@ volumeMounts:
116117
# - --distributed-executor-backend=mp
117118
# - --dtype=auto
118119
# - --max-model-len=8000
119-
120+
# # Example Xeon configurations:
121+
# llama-3-2-3b-instruct:
122+
# id: meta-llama/Llama-3.2-3B-Instruct
123+
# enabled: true
124+
# device: "xeon"
125+
# args:
126+
# - --max-model-len
127+
# - "14336"
128+
# - --max-num-seqs
129+
# - "32"
130+
# llama-3-1-8b-instruct:
131+
# id: meta-llama/Llama-3.1-8B-Instruct
132+
# enabled: true
133+
# device: "xeon"
134+
# args:
135+
# - --max-model-len
136+
# - "14336"
137+
# - --max-num-seqs
138+
# - "32"
139+
# - --enable-auto-tool-choice
140+
# - --chat-template
141+
# - /chat-templates/tool_chat_template_llama3.2_json.jinja
142+
# - --tool-call-parser
143+
# - llama3_json
120144
global:
121145
models: {}
122146
mcp-servers: {}

0 commit comments

Comments
 (0)