dria batch
Run parallel inference on a JSONL file. Dria automatically distributes work across available models and handles retries with exponential backoff.Basic usage
Input format
Each line is a JSON object with aprompt field. Optional id and attachment fields:
Output format
Results are written as JSONL. Each line contains the model used, output text, and token count:error field instead of output.
Auto model selection
When you don’t specify-m, Dria:
- Fetches all available models and their node counts
- Classifies each prompt by content type (text, vision, audio) based on the attachment
- Distributes prompts across models proportionally to node availability
- If a model goes down (503), automatically falls back to the next best model