tigerflow-ml
ML tasks for TigerFlow — private cloud ML APIs on HPC infrastructure.
Installation
pip install tigerflow-ml
If using a task that relies on vllm (chat, OCR, or translation), install with:
pip install tigerflow-ml[vllm]
Tasks
| Task | Description | Entry Point |
|---|---|---|
| OCR | Extract text from images and PDFs | ocr / ocr-local |
| Translation | Translate text documents | translate / translate-local |
| Chat | Apply a chat prompt to text, images, audio, or video | chat / chat-local |
| Transcription | Transcribe audio to text | transcribe / transcribe-local |
| Object Detection | Detect objects in images and videos | detect / detect-local |
| Embed | Embed text or images | embed / embed-local |
Each task provides both a Slurm variant (for HPC) and a Local variant (for development).
Usage
After installation, tasks are automatically discoverable via:
tigerflow tasks list
Run a task directly:
python -m tigerflow_ml.image.ocr.slurm --help
python -m tigerflow_ml.text.translate.slurm --help
python -m tigerflow_ml.multimodal.chat.slurm --help
python -m tigerflow_ml.audio.transcribe.slurm --help
python -m tigerflow_ml.image.detect.slurm --help
python -m tigerflow_ml.multimodal.embed.slurm --help
Container
A GPU image with all tasks (including the vllm extra) is published to GHCR on
each release:
docker pull ghcr.io/princeton-ddss/tigerflow-ml:latest
The image bundles its own CUDA libraries, so only the host NVIDIA driver is
needed at runtime — pass --gpus all (Docker) or --nv (Apptainer). Models are
fetched on first use; mount a cache at /cache to persist them.
The entrypoint is tigerflow, so arguments are passed straight to the CLI:
# Run a pipeline (config file + input/output directories)
docker run --gpus all -v "$PWD/cache:/cache" -v "$PWD:/data" \
ghcr.io/princeton-ddss/tigerflow-ml:latest \
run /data/pipeline.yaml /data/input /data/output
# List available tasks
docker run ghcr.io/princeton-ddss/tigerflow-ml:latest tasks list
# Run a single task module directly (override the entrypoint)
docker run --gpus all -v "$PWD/cache:/cache" -v "$PWD:/data" \
--entrypoint python ghcr.io/princeton-ddss/tigerflow-ml:latest \
-m tigerflow_ml.audio.transcribe.local --help
On HPC, convert to a Singularity/Apptainer image:
apptainer build tigerflow-ml.sif docker://ghcr.io/princeton-ddss/tigerflow-ml:latest
apptainer run --nv -B ./cache:/cache tigerflow-ml.sif run pipeline.yaml input output
apptainer exec --nv tigerflow-ml.sif python -m tigerflow_ml.audio.transcribe.local --help
Development
uv sync --group dev
uv run pre-commit run --all-files
uv run pytest tests
Metadata
Release files for tigerflow-ml 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tigerflow_ml-0.2.0.tar.gz | 4.0 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tigerflow_ml-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.0 MB
Release files / tigerflow_ml-0.2.0.tar.gz
| Download URL | tigerflow_ml-0.2.0.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9da5d6083e7fc8537a7a17d80b1bb9ffd740b50355aeffad59e67b15a41f4fe1
|
|
BLAKE2b-256 checksum How to use checksums |
1ff1bd614657ece55585d58c964006554f992d15b4756c24b3e59d83714b0d5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / tigerflow_ml-0.2.0-py3-none-any.whl
| Download URL | tigerflow_ml-0.2.0-py3-none-any.whl |
|---|---|
| Size | 58.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4a9079af04217bfbccae2432910ab36544d179212c1318aabd1224d4b820ab7
|
|
BLAKE2b-256 checksum How to use checksums |
454a5158570b08ad1284fa8ff74102210d82cc3b522c56d188b9116770506d05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logSecurity for tigerflow-ml 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tigerflow_ml-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.