motif64

m64_cdf254de2f24 / capsule.toml

53 lines, 2.0 KBraw
schema = "m64/capsule@1"description = "opencode agent on Inkling 2 Mini, local (TensorFold). opencode 1.18.23 coding agent driving Inkling 2 Mini (Thinking Machines' looped 26B-A3.4B MoE, NVFP4/MXFP8) served by TensorFold with MiaAI-Lab's DGX Spark recipe v3.5 in the same container (256K context, fp8 KV, DFlash2 drafting), with opencode's own web UI and API on the app port. Each session gets an empty directory; the agent can write and run code there. Asks for no network: prompts and code stay on this machine."kinds = ["agent.session"]authors = ["dh7"]license = "apache-2.0"[hardware]platform = "linux-aarch64"gpu = "NVIDIA GB10"gpu_count = 1# TensorFold sizes itself from the container's memory limit: ~20 GiB of weights (target, DFlash2 draft, vision),# 4 streams x ~6.3 GiB at a 262K window (fp8 KV plus the loop's visit slots), a 9 GiB reserve, and the rest is# the prompt cache. At 60 GB only 3 streams fit.vram_gb = 90driver = ">=580"disk_gb = 24[runtime]sandbox = "container"# No image: the Dockerfile builds TensorFold as the inkling-2-mini-tensorfold-v2-gb10 capsule does, then adds opencode.gpu = trueshm_gb = 16internal_port = 9500health = "/health"expected_load_seconds = 600user = "65534:65534"# opencode's own server (web UI + full API, SSE and the terminal's WebSocket) on a second# front port. Raw: no per-session isolation and no params filtering there.[runtime.app]internal_port = 4096[[artifacts]]type = "hf"repo = "thinkingmachines/Inkling-2-Mini"revision = "b85c3cfa615fc413cc9af3379f491b963f3b586a"include = [  ".gitattributes",  "README.md",  "*.json",  "*.jinja",  "*.safetensors",  "tiktoken/*",]mount = "/weights/model"# incoai's DFlash2 block-diffusion draft model (5 layers, 0.49B, Apache-2.0), the recipe's default drafter.[[artifacts]]type = "hf"repo = "incoai/Inkling-2-Mini-DFlash2"revision = "4f9088ea66c21f2b99ed657d1941c306b03e84d2"include = ["config.json", "model.safetensors", "README.md"]mount = "/weights/draft"