Architecture & Studio Guide

Self-Hosted Machine Learning Cluster

This project combines a fleet of NVIDIA Jetson compute nodes, a 10-gigabit local network, and open-weights Gemma 4 language and vision models. Instead of relying on cloud API quotas, workstations on the local network send prompts, code, and images to a unified local proxy that distributes work across our own hardware.

How a Request Moves Through the Cluster

When you write a program or use a coding assistant, your computer sends a structured text message (an HTTP request containing JSON) to one local address. A routing service called LiteLLM Proxy receives that message on the GMKtec AMD head node and forwards it to whichever Jetson computer has the right model and available memory.

1. 2x HP Omen Laptops RTX 3060 (6GB) • Workstations Antigravity (AGY) Agentic IDE Client Other Coding Tools Aider / Continue / CLI Art & Creative Scripts Python / p5.js / SVG 2. Head Node (GMKtec AMD) LiteLLM Proxy Single OpenAI-style API round_robin / lowest_latency Keeps 100% of Jetson GPU memory free for models 3. Headless Inference Fleet (SSH) Jetson AGX Thor (128GB • 4x 10GbE) vLLM • Gemma-4-26B / 31B 2x Jetson AGX Orin (64GB • 10GbE) vLLM • Gemma-4-26B / 31B 2x Jetson AGX Xavier (32GB • 1GbE) Ollama / llama.cpp • Gemma-4-12B / E4B 2x Apple Mac mini (16GB • 1GbE) Ollama • Gemma-4-E2B / E4B HTTP/JSON

Figure 1: Logical request flow from client computers through the LiteLLM proxy to heterogeneous Jetson backends.

Core Concepts (Programming Primer)

If you are new to programming, four technical ideas explain most of how this cluster operates:

Concept 1

Application & Process

An application (or program) is a set of instructions stored on disk. When the operating system runs that application, it creates a process: an active, isolated instance of the program in memory (RAM) with its own Process ID (PID), memory space, open files, and network connections. In this cluster, LiteLLM on the GMKtec AMD head node, vLLM on Thor, and your Python script on a workstation are each separate processes.

Concept 2

Interface & API

An interface is the defined boundary through which you interact with a system without needing to know how its internal machinery works. On a refrigerator, the door, hinge, and handle form the interface: you pull the handle to access what is inside without touching the compressor, coolant lines, or thermostat wiring.

In software, an API (Application Programming Interface) plays the same role between two processes. Your script sends a JSON request to the LiteLLM endpoint without needing to know which Jetson GPU or CUDA kernel computes the answer.

Concept 3

Inference Engines

A machine learning model is a large file of numerical weights. An inference engine (vLLM on Thor/Orin, Ollama on Xavier) is a background process that loads those weights into GPU memory and computes the next token, image description, or function call.

Concept 4

Tool Calling

Instead of only replying with prose, Gemma 4 can emit structured JSON instructions that tell a client process to run a specific function—such as reading a file, generating an SVG shape, or querying a local catalog.

Explore the Documentation