m64_0d96eb0d7f56 / capsule.toml
46 lines, 2.0 KBraw
schema = "m64/capsule@1"description = "opencode agent on Qwen3.8-27B, local (TensorFold native). opencode 1.18.23 coding agent driving Qwen3.8-27B (Alibaba's dense 27B vision-language model, MLX 4-bit, the checkpoint of MiaAI-Lab's DGX Spark recipe) served by TensorFold's native CUDA engine in the same container (256K context, FP8 KV, DFlash2 drafting, a prompt cache that also resumes conversations with images), 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 free memory: 17.6 GiB of model and drafter, 2 streams x 9.1 GiB at a 262K window# (fp8 KV), a 12 GiB reserve, and the rest is the prompt cache.vram_gb = 90driver = ">=580"disk_gb = 24[runtime]sandbox = "container"# No image: the Dockerfile builds TensorFold as the qwen38-27b-tensorfold-native-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# The recipe's checkpoint (it names Vontra/Qwen3.8-27B-MLX-4bit, which now redirects here).[[artifacts]]type = "hf"repo = "TensorFold/Qwen3.8-27B-MLX-4bit"revision = "22d8d538154e0e5b6f8dcb1fcc74a60a0798104c"include = ["*.json", "*.jinja", "*.safetensors", "LICENSE", "README.md"]mount = "/weights/model"# z-lab's DFlash2 drafter for Qwen3.8-27B (Apache-2.0).[[artifacts]]type = "hf"repo = "z-lab/Qwen3.8-27B-DFlash2"revision = "50307d4c4cde6860d4eee73e2547cd786fe8e8a4"include = ["config.json", "model.safetensors", "README.md"]mount = "/weights/draft"