umer07 commited on
Commit
f614131
·
verified ·
1 Parent(s): 6dd571f

Add Fathom vLLM backup 20260417_053924

Browse files
VM_RECOVERY_GUIDE_20260417_053924.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Fathom VM Recovery Guide
2
+
3
+ Backup timestamp: `20260417_053924`
4
+ HF dataset: `umer07/vllm-deployement-backup`
5
+
6
+ This backup matches the live VM after the current vLLM, backend, dashboard, log endpoint, classifier, RAG-context, demo HTML, and upload-flow changes.
7
+
8
+ ## Current Runtime
9
+
10
+ - Dashboard: port `3000`
11
+ - Backend: port `7860`
12
+ - vLLM OpenAI-compatible endpoint: port `8000`
13
+ - vLLM service: `fathom-vllm.service`
14
+ - vLLM start script: `/usr/local/bin/fathom-vllm-start`
15
+ - vLLM model id exposed to backend: `fathom-base`
16
+ - vLLM max context configured: `32768`
17
+ - Main app root: `/opt/fathom`
18
+ - Public demo HTML: `/opt/fathom/dashboard/public/demo.html`
19
+ - Root dashboard route redirects to `/demo.html`
20
+
21
+ ## Backup Files
22
+
23
+ - `vllm_deployement_backup_20260417_053924.tar.gz`
24
+ - `fathom_minio_data_20260417_053924.tar.gz`
25
+ - `fathom_neo4j_data_20260417_053924.tar.gz`
26
+ - `fathom_neo4j_logs_20260417_053924.tar.gz`
27
+ - `fathom_hf_cache_20260417_053924.tar.gz`
28
+ - `fathom_adapters_20260417_053924.tar.gz`
29
+ - `vllm_deployement_backup_manifest_20260417_053924.txt`
30
+ - `restore_fathom_vm.sh`
31
+
32
+ ## Restore
33
+
34
+ Use the restore script on a ROCm/vLLM-capable VM:
35
+
36
+ ```bash
37
+ apt update
38
+ apt install -y docker.io docker-compose-v2 python3 python3-pip curl
39
+ python3 -m pip install --break-system-packages -U huggingface_hub
40
+
41
+ HF_TOKEN='<your token>' bash restore_fathom_vm.sh --download-latest --start
42
+ ```
43
+
44
+ The restore expects the DigitalOcean vLLM ROCm base container named `rocm` or an equivalent ROCm/vLLM container that supports `/opt/venv/bin/vllm`.
45
+ The large Hugging Face model cache under `/shared-docker/hf-cache` is intentionally excluded and will be repopulated from Hugging Face.
46
+
47
+ ## Verify
48
+
49
+ ```bash
50
+ systemctl status fathom-vllm.service --no-pager
51
+ curl http://127.0.0.1:8000/v1/models
52
+ curl http://127.0.0.1:7860/health
53
+ curl -I http://127.0.0.1:3000/
54
+ curl http://127.0.0.1:3000/demo.html
55
+ ```