deploy.toml 1.7 KiB 53 lines Raw
1 # inf3r deploy — this host's bindings.2 #3 # Requirements live inside each bundle (`plugins/<model>/<target>/target.toml`).4 # This file is the local choice: which bundles this host runs, on which devices,5 # with which budgets. Same binaries, different bindings, no rebuild.6 7 [[node]]8 host        = "example"9 bin_dir     = "target/release"10 bundle_dirs = ["plugins"]11 blob_dir    = "target/blobs"12 # `web` takes `unix`, `tcp`, or both. The Unix socket is for the local CLI.13 web         = { unix = "target/inf3r.sock" }14 auth_file  = "target/token"15 # settle    = "2s"                # wait for the driver to free a stopped child16 17 # One [[node.bind]] per bundle served on this host.18 #19 # [[node.bind]]20 # bundle       = "example/gpu"21 # devices      = ["cuda:0", "cuda:1"]22 # weights      = ["models/example.gguf"]   # handed to the bundle at load23 # vram         = [1024, 1024]   # MB per device; defaults to target.toml24 # pin          = true             # never evict; resident at boot25 # max_inflight = 826 #27 # [[node.bind]]28 # bundle       = "example-video/gpu"29 # devices      = ["cuda:1"]30 # warm         = false            # load on demand31 # idle_unload  = "5m"32 # priority     = "background"33 # max_inflight = 134 35 # Host KV cache, when the operator wants persistence across unloads. One tier36 # per filesystem. The directory is 0700 and disjoint from blob_dir.37 #38 # [node.cache]39 # enabled      = true40 # persist      = "reboot"41 # pin_bound    = "20GB"   # 0 or absent means pins are refused42 # flush_budget = "5s"43 # default_ttl  = "7d"44 #45 # [[node.cache.class]]46 # name = "standard"47 # ttl  = "7d"48 #49 # [[node.cache.tier]]50 # name     = "nvme"51 # dir      = "/var/lib/inf3r/cache"52 # bound    = "100GB"53 # headroom = "20GB"