← all repositories
VoltaML/voltaML

The compiler wrapper that actually benchmarks its brags

It exists because turning a PyTorch prototype into a fast TensorRT or ONNX deployment usually means writing more boilerplate than the model itself.

1.2k stars Python Inference · Serving
voltaML
Not currently ranked — collecting fresh signals.
star history

What it does

VoltaML is a Python wrapper that takes trained PyTorch models and feeds them into hardware-specific compilers—TensorRT for NVIDIA GPUs, TVM for CPUs, and ONNX in between. It quantizes weights to FP16 or INT8, emits a compiled artifact, and runs a head-to-head latency benchmark against the original model so you can see whether the speedup was worth the trouble.

The interesting bit

The library treats inference optimization like a build pipeline rather than a research project: one compile() call and a gpu_performance() comparison. That sounds like glue code, and it largely is—but it is glue code that actually ships with INT8 calibration and claims accuracy drops under 1% on ImageNet classification.

Key highlights

  • Supports TensorRT, TorchScript, ONNX, and TVM backends from a single API.
  • Bundled benchmarks on an RTX 2080 Ti show INT8 classification models running up to 13× faster than PyTorch, with object detection and segmentation seeing smaller but still solid gains.
  • NLP acceleration for Hugging Face transformers is available but explicitly marked early-stage, with only a handful of BERT and GPT-2 variants supported.
  • Includes a separate sub-project, voltaTrees, that compiles XGBoost and LightGBM models to LLVM machine code.
  • Ships as a Docker image with Jupyter Lab to avoid local CUDA/TensorRT dependency hell.

Caveats

  • The README is upfront that NLP support is still early and limited to a short list of models.
  • Version pinning is aggressive: TensorRT 8.4.1.2 and PyTorch 1.12 are hard requirements, which may conflict with newer stacks.
  • All published benchmarks come from a single GPU (RTX 2080 Ti), so your mileage on other hardware is genuinely unclear.

Verdict

Grab it if you need to squeeze latency out of standard vision models and would rather not write TensorRT boilerplate. Skip it if you are on the bleeding edge of PyTorch or need broad Hugging Face coverage today.

Frequently asked

What is VoltaML/voltaML?
It exists because turning a PyTorch prototype into a fast TensorRT or ONNX deployment usually means writing more boilerplate than the model itself.
Is voltaML open source?
Yes — VoltaML/voltaML is open source, released under the Apache-2.0 license.
What language is voltaML written in?
VoltaML/voltaML is primarily written in Python.
How popular is voltaML?
VoltaML/voltaML has 1.2k stars on GitHub.
Where can I find voltaML?
VoltaML/voltaML is on GitHub at https://github.com/VoltaML/voltaML.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.