Update qore: 6 models, preset cards, volume mounts
This commit is contained in:
parent
9738d79569
commit
236c252e20
1 changed files with 46 additions and 38 deletions
|
|
@ -1,16 +1,13 @@
|
|||
# qore — AI Server (Ubuntu, 192.168.170.70)
|
||||
|
||||
> **Note:** This is the current AI server named `qore`. A different Windows machine
|
||||
> also named `qore` (192.168.1.x) is documented in `locations/qore.md` — that is historical context.
|
||||
|
||||
## Summary
|
||||
|
||||
- **IP:** `192.168.170.70`
|
||||
- **Hostname:** `qore`
|
||||
- **Role:** Home lab AI inference server (Ollama + ComfyUI + admin dashboard)
|
||||
- **OS:** Ubuntu 22.04.5 LTS
|
||||
- **SSH:** `ssh post@192.168.170.70` (password: see cluster credentials in user's password manager)
|
||||
- **Status:** ✅ Fully operational as of 2026-06-10
|
||||
- **SSH:** `ssh post@192.168.170.70` (password: see user's password manager)
|
||||
- **Status:** ✅ Fully operational as of 2026-06-12
|
||||
- **Network:** `192.168.170.0/24` (home lab, domain `4min.pro`)
|
||||
|
||||
## Hardware
|
||||
|
|
@ -18,7 +15,7 @@
|
|||
| Component | Value |
|
||||
|-----------|-------|
|
||||
| CPU | 2× Intel Xeon E5-2696 v3 (36 cores / 72 threads, Haswell-EP) |
|
||||
| RAM | 256 GB DDR4-2133 ECC |
|
||||
| RAM | 256 GB DDR4-2133 ECC (8 channels, ~136 GB/s bandwidth) |
|
||||
| GPU | NVIDIA RTX A6000 48 GB VRAM (Ampere, Driver 580, CUDA 13.0) |
|
||||
| Storage | 3.7 TB NVMe (LVM) |
|
||||
|
||||
|
|
@ -30,60 +27,71 @@
|
|||
| ComfyUI | 8188 | http://192.168.170.70:8188 |
|
||||
| qore-admin | 8189 | http://192.168.170.70:8189 |
|
||||
|
||||
## Ollama
|
||||
## Ollama Models (as of 2026-06-12)
|
||||
|
||||
| Model | Size | Where | Speed |
|
||||
|-------|------|-------|-------|
|
||||
| qwen2.5:72b-instruct-q8_0 | 77 GB | GPU+RAM | ~20-30 tok/s |
|
||||
| llama3.3:70b | 42 GB | GPU | ~40-60 tok/s |
|
||||
| qwen2.5:32b | 19 GB | GPU | ~60-100 tok/s |
|
||||
| qwen2.5-coder:32b | 19 GB | GPU | ~60-100 tok/s |
|
||||
| deepseek-r1:32b | 19 GB | GPU | ~60-100 tok/s |
|
||||
| nomic-embed-text | 274 MB | GPU | embeddings |
|
||||
|
||||
```bash
|
||||
ollama list # installed models
|
||||
ollama pull MODEL # download
|
||||
curl http://192.168.170.70:11434/api/tags # API check
|
||||
ollama list # installed models
|
||||
ollama pull MODEL # download
|
||||
curl http://192.168.170.70:11434/api/tags # API check
|
||||
```
|
||||
|
||||
Systemd env: `OLLAMA_HOST=0.0.0.0`, `OLLAMA_MODELS=/opt/ollama/models`, `OLLAMA_NUM_PARALLEL=2`
|
||||
|
||||
Models as of 2026-06-10:
|
||||
- `qwen2.5:32b` (19 GB, GPU, ~60-100 tok/s on A6000)
|
||||
- `nomic-embed-text` (274 MB, GPU, embeddings)
|
||||
- `llama3.3:70b` (GPU, downloading)
|
||||
|
||||
Planned:
|
||||
- `deepseek-r1:32b`
|
||||
- `qwen2.5-coder:32b`
|
||||
- `deepseek-r1:671b` IQ2_M (CPU, ~173 GB)
|
||||
|
||||
## ComfyUI
|
||||
|
||||
Docker container `comfyui` (image `comfyui-official:latest`):
|
||||
Docker container `comfyui`:
|
||||
- Models: `/opt/comfyui/models/` → container `/ComfyUI/models/`
|
||||
- `check_templates.py` runs at startup — scans 255 workflow templates, downloads missing
|
||||
- Custom nodes: ComfyUI-Manager 3.40, Crystools 1.27.4, rgthree
|
||||
|
||||
```bash
|
||||
cd /opt/comfyui && docker compose ps
|
||||
docker compose logs --tail 50
|
||||
```
|
||||
|
||||
- Models volume: `/opt/comfyui/models/` → container `/ComfyUI/models/`
|
||||
- `check_templates.py` runs at startup — scans 255 workflow templates, downloads missing models
|
||||
- Custom nodes: ComfyUI-Manager 3.40, Crystools 1.27.4, rgthree
|
||||
- aria2c RPC daemon on :6800 inside container for fast downloads
|
||||
## qore-admin Dashboard
|
||||
|
||||
## qore-admin
|
||||
Flask app at :8189 (Docker container):
|
||||
- GPU/RAM/Disk/CPU live stats (refresh 5s)
|
||||
- Ollama model management (load GPU/CPU, unload, pull, delete)
|
||||
- **Preset cards:** 8 popular models with one-click download + install status
|
||||
- ComfyUI status + VRAM free button
|
||||
- Source: `post/network` → `qore-admin/`
|
||||
- Auth: admin/cityweek (Basic Auth)
|
||||
|
||||
Flask dashboard at :8189:
|
||||
- GPU/RAM/Disk live stats
|
||||
- Ollama model management (load/unload/pull)
|
||||
- ComfyUI VRAM free button
|
||||
- Source: `https://git.4min.pro/post/network` → `qore-admin/`
|
||||
|
||||
## Infrastructure Code
|
||||
|
||||
All configs and scripts: `https://git.4min.pro/post/network` (private)
|
||||
Local Mac path: `/Users/post/VScode/network/`
|
||||
```bash
|
||||
# Deploy update (no rebuild needed — volume mounted):
|
||||
scp templates/index.html post@192.168.170.70:/opt/qore-admin/templates/
|
||||
# Or via SSH MCP: ssh_upload(...)
|
||||
cd /opt/qore-admin && docker compose restart
|
||||
```
|
||||
|
||||
## SSH MCP Access
|
||||
|
||||
Via `mcp-ssh` server (installed on Mac, CT102):
|
||||
Via `ssh` MCP server (installed on Mac):
|
||||
|
||||
```
|
||||
ssh_exec("qore", "nvidia-smi")
|
||||
ssh_exec("qore", "ollama list")
|
||||
ssh_exec("qore", "docker ps")
|
||||
ssh_exec("qore", "cd /opt/comfyui && docker compose logs --tail 20")
|
||||
ssh_exec("qore", "tmux ls")
|
||||
```
|
||||
|
||||
## CPU Inference Performance
|
||||
|
||||
RAM bandwidth: ~136 GB/s (DDR4-2133 8-channel)
|
||||
|
||||
| Model | RAM needed | Speed |
|
||||
|-------|-----------|-------|
|
||||
| 72B Q8 | 77 GB | ~1.8 tok/s (CPU layers) |
|
||||
| 72B Q4 | 47 GB | ~2.9 tok/s |
|
||||
| 671B IQ2_M | 173 GB | ~0.8 tok/s |
|
||||
|
|
|
|||
Reference in a new issue