groot-serve / adapters /__init__.py
MichaelMintIcecream's picture
groot serving image (serve/ @ Lab main 0b91dd9, MODEL_KIND=groot)
9d5790d verified
Raw
History Blame Contribute Delete
647 Bytes
"""Model adapters for the Nori multi-policy inference server.
Adapter protocol (duck-typed; see base.py for the reference docstring):
load() heavy imports + weights; called once
in a background thread
act(images, state, instruction,
num_steps, extras) -> (actions, dict) one action CHUNK, robot scale
meta() -> dict {kind, chunk_hz, horizon, dof,
cameras, max_images, source, ...}
point(image, query, max_new_tokens) OPTIONAL — pointing-capable VLMs only
"""