~/talk

PyTorch Workflow Mastery: A Guide to Track and Optimize Model Performance

Talkat PyData Global 2024 · 2024-12-03..12-05· [machine-learning]
links:none on file
slides:none on file

Hands‑on pipeline that actually trains a ResNet18 on CIFAR‑10 (50,000 train images, batch 128) and logs metrics and artifacts to Weights & Biases, runs short Optuna Bayesian searches for learning rate/optimizer choices via Optuna, and shows saving/loading state_dicts; project reproducibility uses UV for dependency sync. Code is delivered as notebooks then modularized into functions; demos run ~3 epochs so results are illustrative not production‑grade, but the integrations and saving/loading workflows work end‑to‑end.

AI-written summary · about

  1. 0:00PyTorch workflow intro
  2. 1:26Introduction
  3. 10:14Setting up project
  4. 15:18Loading data and config
  5. 23:49Training model
  6. 33:50CIFAR-10 dataset
  7. 41:28Model architecture & transfer
  8. 54:43Training metrics
  9. 1:03:03Saving models & inference
  10. 1:06:16Weights & Biases tracking
  11. 1:11:11Hyperopt with Optuna
  12. 1:17:44Optuna trials & analysis
  13. 1:22:45Modular PyTorch code
  14. 1:25:38Deployment best practices
  15. 1:28:47Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.