Ai
8 pagesGPU Containers: Drivers and /dev/nvidia0
GPU containers let you run inference straight on a workstation, but the first thing that breaks is /dev/nvidia0 access. Driver mismatches between host and container trigger no suitable GPU device found. Below are concrete commands for runtime setup, …
GPU containers let you run inference straight on a workstation, but the first thing that breaks is /dev/nvidia0 access. Driver mismatches between host and container trigger no suitable GPU device found. Below are concrete commands for runtime setup, …
RAG Chunking and Segment Overlap
Lead. In RAG pipelines, retrieval quality directly depends on how text is split into segments. Chunks that are too large carry noise and extra tokens, while too-small chunks lose semantic coherence at boundaries. The main parameter balancing these …
Lead. In RAG pipelines, retrieval quality directly depends on how text is split into segments. Chunks that are too large carry noise and extra tokens, while too-small chunks lose semantic coherence at boundaries. The main parameter balancing these …
Embeddings of a single notes directory
Working with a growing collection of markdown notes locally, I needed fast semantic sorting without moving data to the cloud. The solution: local embedding generation via sentence-transformers and FAISS-based search, everything staying on disk under …
Working with a growing collection of markdown notes locally, I needed fast semantic sorting without moving data to the cloud. The solution: local embedding generation via sentence-transformers and FAISS-based search, everything staying on disk under …
Ollama: single model and memory limits
Running a local model via Ollama without memory control leads to OOM-kill in production. This note covers how to assess RAM usage of a single model and set limits at the OS or container level. 1. Introduction to constraints Ollama loads the model …
Running a local model via Ollama without memory control leads to OOM-kill in production. This note covers how to assess RAM usage of a single model and set limits at the OS or container level. 1. Introduction to constraints Ollama loads the model …
Local RAG Search Setup: Quick File Search on Host
Lightweight local RAG on your own host lets you index configs, logs, and docs without sending data to external services. The llm CLI (Simon Willison) paired with an embed-model delivers a ready pipeline: one container for embeddings, local search, …
Lightweight local RAG on your own host lets you index configs, logs, and docs without sending data to external services. The llm CLI (Simon Willison) paired with an embed-model delivers a ready pipeline: one container for embeddings, local search, …
Open WebUI only for own network
Open WebUI defaults to 0.0.0.0:8080 and is ready for public traffic. To keep access inside your network only, a reverse proxy with subnet filtering is the recommended approach. This reduces attack surface and aligns with infoSec policies that …
Open WebUI defaults to 0.0.0.0:8080 and is ready for public traffic. To keep access inside your network only, a reverse proxy with subnet filtering is the recommended approach. This reduces attack surface and aligns with infoSec policies that …
Ollama inference API setup without running a server
Sometimes you need Ollama inference API access without running a full ollama serve daemon on your local machine. This is common in CI/CD pipelines, remote workstations, or when you want to conserve resources while keeping the HTTP endpoint available. …
Sometimes you need Ollama inference API access without running a full ollama serve daemon on your local machine. This is common in CI/CD pipelines, remote workstations, or when you want to conserve resources while keeping the HTTP endpoint available. …
Llama.cpp: Running model in container without GPU
Running Llama.cpp inside Docker on a CPU-only host removes every GPU assumption by default. This note covers the minimal Dockerfile, environment flags, quantization, and speed verification without a single CUDA dependency. Why run llama.cpp without …
Running Llama.cpp inside Docker on a CPU-only host removes every GPU assumption by default. This note covers the minimal Dockerfile, environment flags, quantization, and speed verification without a single CUDA dependency. Why run llama.cpp without …