Run a synthetic smoke test¶
Kind: how-to.
Use this procedure from the repository root. Follow the GPU prerequisite instructions first. The serving profile needs at least 11000 MiB of free GPU memory.
- Install the client and development tools.
uv sync --locked
- Generate the eight synthetic page images.
uv run inference-axi corpus
- Build the server image.
uv run inference-axi build
- Check the available GPU memory.
uv run inference-axi status
- Start the demo server.
uv run inference-axi start
- Check one page with known text.
uv run inference-axi ocr corpus/page-01.png --output runs/page-01.txt --expect LAB401
uv run pytest -m gpu
- Run the four concurrency levels.
uv run inference-axi bench corpus --output runs/first
-
Read
runs/first/summary.md. -
Check the failures and raw outputs in
runs/first/results.json. -
Remove the demo container.
uv run inference-axi stop
Use uv run inference-axi logs if startup fails.
Use uv run inference-axi logs --full for all log lines.
Run stop after a startup failure to remove the failed container.