Skip to content

Commit 9faadee

Browse files
authored
CUBE-182 - Replace all references to tiny llama with the new default model (#188)
* Replace refences of tinyllama with new default model Signed-off-by: Jilks Smith <smithjilks@gmail.com> * Revert config.json Signed-off-by: Jilks Smith <smithjilks@gmail.com> * Revert vll-compose.yaml Signed-off-by: Jilks Smith <smithjilks@gmail.com> --------- Signed-off-by: Jilks Smith <smithjilks@gmail.com>
1 parent 3668009 commit 9faadee

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Cube AI uses TEEs to protect user data and AI models from unauthorized access. T
174174
-H "Content-Type: application/json" \
175175
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
176176
-d '{
177-
"model": "tinyllama:1.1b",
177+
"model": "llama3.2:3b",
178178
"messages": [
179179
{
180180
"role": "user",
@@ -222,7 +222,7 @@ Example:
222222
curl -k https://localhost/proxy/YOUR_DOMAIN_ID/v1/chat/completions \
223223
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
224224
-H "Content-Type: application/json" \
225-
-d '{"model":"tinyllama:1.1b","messages":[{"role":"user","content":"Hello"}]}'
225+
-d '{"model":"llama3.2:3b","messages":[{"role":"user","content":"Hello"}]}'
226226

227227
# Ollama API endpoint
228228
curl -k https://localhost/proxy/YOUR_DOMAIN_ID/api/tags \

api/guardrails.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ components:
462462
models:
463463
- type: main
464464
engine: ollama
465-
model: tinyllama
465+
model: llama3.2:3b
466466
prompts_yaml:
467467
type: string
468468
description: YAML content for prompts.yml

docker/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ VLLM_LOGGING_LEVEL=INFO
244244

245245
# UI LLM Configuration (supports both ollama and vllm via proxy)
246246
UV_CUBE_UI_LLM_BASE_URL=http://cube-proxy:${UV_CUBE_PROXY_PORT}
247-
UV_CUBE_UI_LLM_DEFAULT_MODEL=tinyllama:1.1b
247+
UV_CUBE_UI_LLM_DEFAULT_MODEL=llama3.2:3b
248248

249249
# UI Attestation Configuration
250250
CUBE_AI_ATTESTATION_URL=http://cube-proxy:${UV_CUBE_PROXY_PORT}

guardrails/src/drivers/rest/routers/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class ChatRequest(BaseModel):
123123
"""Schema for chat completion request."""
124124

125125
messages: List[ChatMessage]
126-
model: Optional[str] = "tinyllama"
126+
model: Optional[str] = "llama3.2:3b"
127127
temperature: Optional[float] = 0.1
128128
max_tokens: Optional[int] = 150
129129

hal/buildroot/linux/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Navigate to **Target packages → Cube AI Services**:
8787
- **Client CA Certificates**: Path to file
8888

8989
##### Ollama Backend (if selected)
90-
- **Install default models**: Automatically pulls tinyllama:1.1b, starcoder2:3b, nomic-embed-text:v1.5
90+
- **Install default models**: Automatically pulls llama3.2:3b, starcoder2:3b, nomic-embed-text:v1.5
9191
- **Custom models**: Space-separated list (e.g., `llama2:7b mistral:7b codellama:13b`)
9292
- **GPU Support**: Enable NVIDIA or AMD GPU acceleration
9393

@@ -198,7 +198,7 @@ ollama list
198198
ollama pull llama2:7b
199199

200200
# Remove models
201-
ollama rm tinyllama:1.1b
201+
ollama rm llama3.2:3b
202202
```
203203

204204
### vLLM Models

hal/buildroot/linux/package/ollama/Config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config BR2_PACKAGE_OLLAMA_MODELS
1515
default y
1616
help
1717
Automatically pull default models on first boot
18-
(tinyllama:1.1b, starcoder2:3b, nomic-embed-text:v1.5)
18+
(llama3.2:3b, starcoder2:3b, nomic-embed-text:v1.5)
1919

2020
config BR2_PACKAGE_OLLAMA_CUSTOM_MODELS
2121
string "Custom models to install"

hal/ubuntu/qemu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ write_files:
141141
sleep 2
142142
done
143143
# Pull models
144-
/usr/local/bin/ollama pull tinyllama:1.1b
144+
/usr/local/bin/ollama pull llama3.2:3b
145145
/usr/local/bin/ollama pull starcoder2:3b
146146
/usr/local/bin/ollama pull nomic-embed-text:v1.5
147147
permissions: '0755'

0 commit comments

Comments
 (0)