internalsGet Pro

Module 14 · Lesson 2 of 15Pro

Packaging models: formats and containers

Level
Intermediate
Topic
Deploying ML models
Reading time
17 min

When you finish this page you can

  1. Say what a saved model file holds and what the loading machine must supply, for pickle, joblib, skops, ONNX and torch.export.
  2. Explain why loading a pickle or joblib file runs code, and when skops or ONNX removes that risk.
  3. Choose a model format for a service, and check a converted model against the original before it ships.
  4. Write a Dockerfile for a model server that pins its base image, its packages and its model files.
  1. Experiment tracking: recording every run17 min
  2. ML code that lasts: packages, config and logging16 min
  3. Reproducibility: seeds, environments and versions17 min

Video lesson · coming soon

The model that loaded only on Farah’s laptop

is the online store this course uses as its example. It now serves 5 million customers a day and takes about 500,000 orders. Every order passes a fraud check at checkout, which must answer in under 50 ms. The check is a that predicts how likely an order is to be fraud. Orders above a threshold are held for review.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan