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
- 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
-
115
103
Note: the 70B model is NOT required for initial testing of this example. The safety/shield model `Llama-Guard-3-8B` is also optional.
116
104
117
105
### Installation Steps
@@ -250,7 +238,6 @@ make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct SAFETY=llama-gu
250
238
251
239
# Xeon deployment
252
240
make install NAMESPACE=llama-stack-rag LLM=llama-3-2-3b-instruct SAFETY=llama-guard-3-8b DEVICE=xeon
253
-
254
241
```
255
242
256
243
**Remote LLM Deployment Example:**
@@ -259,23 +246,36 @@ To connect to a remote LLM endpoint instead of deploying a local model, use `LLM
| `LLM=remote-llm` | Indicates a remote model (no local vLLM deployment) |
256
+
|`LLM=remotellm`| Indicates a remote model (no local vLLM deployment) |
270
257
|`LLM_URL`| The base URL of the remote model endpoint |
271
258
|`LLM_API_TOKEN`| Authentication token for the remote endpoint |
259
+
|`LLM_ID`| The model of the llm you wish to use |
272
260
273
261
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.
274
262
275
263
When prompted, enter your **[Hugging Face Token](https://huggingface.co/settings/tokens)**.
276
264
277
265
Note: This process may take 10 to 30 minutes depending on the number and size of models to be downloaded.
278
266
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:
0 commit comments