Guide: Batch Inference
This directory contains the code for the Batch Inference guide.
Running the Example
- Launch the TensorZero Gateway and Postgres database:
docker compose up
- Start a batch inference job:
sh start_batch.sh
- Poll the status of the batch inference job using the
batch_idreturned by thestart_batch.shscript:
sh poll_batch.sh 00000000-0000-0000-0000-000000000000