Lec 38: Hands-on Session

Lec 38: Hands-on Session

🎙 Dr. Satyajit Das and Prof. Satyadhyan Chickerur 👥 228K 📅 September 1, 2026 ⏱ 36 min 👁 3 📄 tutorial 🧭 2026-09-01
Available in: English (current) Français

Keywords

learning rate scalingcheckpointingmodel packagingPyTorchONNX

Summary

This hands-on session from NPTEL IIT Guwahati covers three key aspects of deploying deep learning models at scale. First, it demonstrates linear learning rate scaling for large-batch training, using a CNN on the MNIST dataset with batch sizes of 64, 512, and 4096. The session explains the importance of scaling the learning rate with batch size and the role of warm-up to avoid underperformance. Second, it explores checkpointing strategies, showing how to save and resume training from specific steps, which is crucial for long-running jobs that may crash. The demonstration includes saving model weights, optimizer state, and RNG states, and resuming from a checkpoint. Third, it covers model packaging for deployment, converting a trained checkpoint into formats like SafeTensors, TorchScript, and ONNX, and verifying numerical consistency between the original and exported models. The session is practical, with live code execution and file inspection, aimed at equipping learners with skills for production-level AI deployment.

153 words

Critical Evaluation

Value of the Information & Strength of the Argument

The video provides valuable, practical insights into three critical aspects of deploying deep learning models: learning rate scaling, checkpointing, and model packaging. The argumentation is based on demonstrated results and established practices, such as the linear scaling rule and the need for warm-up. The presenter explains the rationale behind each technique, linking them to real-world scenarios like resuming from a crash. The value lies in the hands-on approach, showing actual code execution and file structures, which is more instructive than theoretical explanations alone. The argumentation is solid, though it could benefit from more quantitative analysis of the results shown.

108 words

Title / Content Match

The title 'Hands-on Session' accurately reflects the content, which is a practical lab session.

Quality & Reliability

7/10

The session is a practical demonstration by domain experts from IIT Guwahati, focusing on applied techniques (LR scaling, checkpointing, model packaging). The content is accurate and aligns with established practices, but the video lacks formal citations and the presentation is somewhat unstructured.

Key Moments

Cited Sources

Concurring Sources

Contribution & Novelties

The session provides a practical, step-by-step guide to three essential techniques for deploying deep learning models at scale: linear learning rate scaling, checkpointing, and model packaging. It bridges the gap between theoretical concepts and real-world implementation, showing how to handle large-batch training, resume from crashes, and export models to various formats. The hands-on approach with live code execution and file inspection adds practical value beyond typical theoretical lectures.

Pour aller plus loin :

122 words

Radar Profile

The radar profile shows high scores in quality of information, technical level, and reliability, with a slightly lower score in quantity of information. This indicates a focused, technically deep session that provides reliable practical knowledge, though it could have covered more ground in terms of breadth.

Reliability 7/10