Knight Eterniti: OCR plus RAG on AMD ROCm GPUs
Knight Eterniti: OCR + RAG on AMD ROCm and Xvimo
I am building an OCR + RAG pipeline on AMD GPUs by running OCR (Tesseract or PyTorch-based models like TrOCR/Donut) to extract and chunk text, encoding chunks with a ROCm-compatible PyTorch embedding model, storing embeddings in a vector store (FAISS on CPU for small scale or Milvus/Weaviate for production), retrieving top-K chunks for a query, and feeding those into a generator LLM running on ROCm.
In addition to the above, I built xvimo to reduce money-loss from scams in regions where WhatsApp is the primary channel for payments and checks. xvimo runs as a WhatsApp-accessible agent that people can forward suspicious messages to; it performs rapid checks (link analysis, scam-pattern detection, payment-request heuristics) and returns an actionable verdict and short, safe advice (e.g., “Do not send money — likely fraud; verify with bank and sender via a different channel”).
What made it “impossible” to some was designing an agent that:
- works within WhatsApp’s constraints (low bandwidth, short text flows, no heavy client installs),
- prioritizes privacy (no raw message storage; ephemeral checks), and…