~/talk

HuggingFace + Ray AIR Integration: A Python developer’s guide to

Talkat PyData Global 2022 · 2022-12-01..12-03· [machine-learning, python]
links:none on file
slides:none on file

Shows a working integration between Hugging Face Transformers and Ray AI Runtime: the Ray AIR Hugging Face Trainer runs existing Trainer code distributedly, sharding data with Ray Datasets and using PyTorch DDP/FSDP for gradient sync. Demo runs on a 16‑GPU cluster (4 nodes × 4 GPUs), example config uses 3 workers × 1 GPU, and training finishes returning metrics and a checkpoint. Features include automatic checkpointing and resume, built‑in logging, easy HPO with Ray Tune (retune) and batch prediction via the Hugging Face predictor, all demonstrated end‑to‑end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31What we will cover
  3. 2:13Modern ML state
  4. 4:22Hugging Face benefits
  5. 7:36Distributed training necessity
  6. 10:11Ray AI Runtime
  7. 13:04Hugging Face + Ray AIR
  8. 15:11Ray AIR’s trainer
  9. 16:57Ray Data for scaling
  10. 18:46Monitoring and checkpointing
  11. 20:12Converting workflows
  12. 21:39Hyperparameter tuning
  13. 22:27Scalable inference
  14. 23:08Live demo
  15. 27:21Conclusion and Q&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.