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
- Devnovate modelsPyTorch training code, unchanged model definitions
- Covex SDKDrop-in device, compile cache and distributed launcher
- Covex Runtime & KernelsOptimized Neuron kernels, warm compile cache
- AWS NeuronCompiler and runtime
- 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."