Case study · Devnovate

How Devnovate accelerated ML training on AWS Trainium with Covex

Devnovate, an AI & ML engineering firm, moved its PyTorch training workloads from GPUs to AWS Trainium using the Covex SDK and runtime libraries.

52%
lower training compute cost
1.8×
training throughput
0
downtime during migration

Results are preliminary and specific to Devnovate's workloads.

Customer overview

Devnovate

Devnovate is an AI & ML engineering firm building and training custom models for its clients, with frequent large training runs.

The challenge

Costly GPUs and slow cold starts

GPU cloud training costs were growing faster than the business. Each new job on a standard setup also paid a compiler cold start, wasting cluster time before training began.

The solution

A seamless PyTorch move to Trainium

  • Covex SDK — PyTorch code migrated with a device swap, no model rewrites.
  • Optimized Neuron kernels — faster attention and fused ops, plus a shared warm compile cache.
  • Automated distributed training — multi-node runs launched with one decorator.

Architecture

How Devnovate's stack fits together

  1. Devnovate models
    PyTorch training code, unchanged model definitions
  2. Covex SDK
    Drop-in device, compile cache and distributed launcher
  3. Covex Runtime & Kernels
    Optimized Neuron kernels, warm compile cache
  4. AWS Neuron
    Compiler and runtime
  5. AWS Trainium (Trn1 / Trn2)
    Multi-node training clusters
devnovate/train.py
import torch
import covex
from covex.distributed import launch

# Same model code Devnovate ran on GPUs
model = build_model()
device = covex.device("trainium")      # was: torch.device("cuda")
model = covex.compile(model.to(device), cache="s3://devnovate-neuron-cache")

@launch(nodes=4, strategy="fsdp")      # automated distributed training
def train(loader):
    opt = torch.optim.AdamW(model.parameters(), lr=3e-4)
    for batch in loader:
        loss = model(**batch.to(device)).loss
        loss.backward()
        opt.step(); opt.zero_grad()
"Covex made Trainium feel like just another PyTorch device. We migrated without downtime, cut our training bill roughly in half, and our engineers stopped waiting on compiles."
— ML Lead, Devnovate

Ready for results like these?