GPU Compute / Recipe
Batch inference and evals
Run large-scale offline inference, eval scripts, or scoring pipelines on a GPU. Use --detach to launch and check logs separately, or omit it to stream output directly.
Run an eval script
badgr run python eval.py --gpu L40S
Streams logs in real time. Billing stops when the script exits.
Detach and check logs later
Use --detach for long-running jobs. Badgr returns the deployment ID immediately.
# Launch and return immediately badgr run python eval.py --gpu L40S --detach # Follow logs when you are ready badgr logs <deployment-id>
Pass datasets and environment
badgr run python eval.py --gpu L40S \ --env HF_TOKEN=$HF_TOKEN \ --env DATASET=my-org/eval-set \ --env OUTPUT_FILE=/app/results.jsonl
Use a pre-built eval image
badgr run \ --image ghcr.io/my-org/eval-runner:latest \ --gpu A100 \ --env HF_TOKEN=$HF_TOKEN
Check cost
badgr receipts