Code Monkey home page Code Monkey logo

efficient-dl-systems's Introduction

Efficient Deep Learning Systems

This repository contains materials for the Efficient Deep Learning Systems course taught at the Faculty of Computer Science of HSE University and Yandex School of Data Analysis.

This branch corresponds to the ongoing 2023 course. If you want to see full materials of past years, see the "Past versions" section.

Syllabus

  • Week 1: Introduction
    • Lecture: Course overview and organizational details. Core concepts of the GPU architecture and CUDA API.
    • Seminar: CUDA operations in PyTorch. Introduction to benchmarking.
  • Week 2: Experiment tracking, model and data versioning, testing DL code in Python
    • Lecture: Experiment management basics and pipeline versioning. Configuring Python applications. Intro to regular and property-based testing.
    • Seminar: Example DVC+W&B project walkthrough. Intro to testing with pytest.
  • Week 3: Training optimizations, profiling DL code
    • Lecture: Mixed-precision training. Data storage and loading optimizations. Tools for profiling deep learning workloads.
    • Seminar: Automatic Mixed Precision in PyTorch. Dynamic padding for sequence data and JPEG decoding benchmarks. Basics of PyTorch Profiler, PyTorch TensorBoard Profiler and cProfile.
  • Week 4: Basics of distributed ML
    • Lecture: Introduction to distributed training. Process-based communication. Parameter Server architecture.
    • Seminar: Multiprocessing basics. Parallel GloVe training.
  • Week 5: Data-parallel training and All-Reduce
    • Lecture: Data-parallel training of neural networks. All-Reduce and its efficient implementations.
    • Seminar: Introduction to PyTorch Distributed. Data-parallel training primitives.
  • Week 6: Training large models
    • Lecture: Model parallelism, gradient checkpointing, offloading, sharding.
    • Seminar: Gradient checkpointing and tensor parallelism in practice.
  • Week 7: Python web application deployment
    • Lecture/Seminar: Building and deployment of production-ready web services. App & web servers, Docker, Prometheus, API via HTTP and gRPC.
  • Week 8: Software for serving neural networks
    • Lecture/Seminar: Different formats for packing NN: ONNX, TorchScript, IR. Inference servers: OpenVINO, Triton. ML on client devices: TfJS, ML Kit, Core ML.
  • Week 9: Efficient model inference
    • Lecture: Efficient Architectures, Knowledge distillation, Pruning, Quantization, Matrices decompositions.
    • Seminar: Quantization in practice.
  • Week 10: Optimizing the BLOOM inference API by Nicolas Patry, Hugging Face

Grading

There will be several home assignments (spread over multiple weeks) on the following topics:

  • Training pipelines and code profiling
  • Distributed and memory-efficient training
  • Deploying and optimizing models for production

The final grade is a weighted sum of per-assignment grades. Please refer to the course page of your institution for details.

Staff

Past versions

efficient-dl-systems's People

Contributors

mryab avatar topshik avatar justheuristic avatar adkosm avatar markovka17 avatar alexeyhorkin avatar msaidow avatar ihatereptiloids avatar poedator avatar vladrub1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.