Skip to main content
Pythia analyzes the computational characteristics of your PyTorch workloads and maps them to the GPU architectures that deliver the best performance-cost efficiency. Instead of guessing which GPU you need or over-provisioning expensive resources, Pythia provides clear, evidence-based guidance on which option matches your requirements.
Pythia currently evaluates T4, A100, and H100 GPUs.

What You Get

Run a single command and Pythia will:
  • Predict memory requirements to identify compatible hardware
  • Estimate runtime for each GPU option
  • Recommend the best GPU based on your workload

CLI Usage

Run GPU Selection

Pass script arguments after --:

Options

Check Status

Requirements

  • Single Python script as entry point (executed as main)
  • Must target CUDA/GPU as the PyTorch device
  • Command-line arguments are supported
  • PyTorch and PyTorch Lightning
  • Imported models (Hugging Face, torchvision, timm)
  • Single model, single GPU
  • Jupyter notebooks (not supported at this point)
  • Advanced or custom gradient manipulation
  • CUDA extensions that bypass PyTorch tensors

Prediction Details

Predicts training and inference memory for a single model. Accounts for gradients, model weights, activations, optimizers, and mixed-precision.Does not account for data transfer outside the training/inference loop or operator memory overhead (intermediate tensors).
Estimates inference/training loop time based on iteration time.Does not account for VM startup time or initial data downloading and loading.