entrypoint: inference.py