Visualization Laboratory Wiki
Docs» training:ds:2023:high_throughput_hyperparameter_optimization_of_ml:dl_models_on_ksl_platforms

High Throughput Hyperparameter Optimization of ML/DL models on KSL platforms

Overview

Hyperparameter optimization (HPO), a.k.a hyperparameter tuning, is a common and compute-hungry step in the development of a reliable Machine Learning/Deep Learning model. It is an iterative process requiring lots of retraining of the model with different parameters. In some instances, a significant number of independent SLURM jobs may be needed to get to a good enough combination of parameters. Bad trials should also be curtailed in order to get to a good guess of parameters. This all means orchestrating HPO experiments manually and managing them over long periods by the user.

I will introduce a framework to consolidate and automate trials of an HPO experiment with smartness to stop bad-performing trials early and schedule them to steer towards their “good” values in the parameter space. Ray Tune is a scalable Python library for running large-scale distributed HPO experiments. I will demonstrate how to build and run Ray Tune on Shaheen2, Ibex CPUs, and Ibex GPUs for Machine Learning and Deep Learning experiments. A catalog of available search and scheduling algorithms in Tune will also be presented. We will shortly discuss visualizing the training progress and integration of Ray Tune with the Weights & Biases library to keep track of experiments.

This is a hands-on session, so please bring your laptops with a Linux terminal installed

Learning Outcomes

After attending the training, you will be able to:

  • Understand the considerations when refactoring training scripts to scale from 1 to N GPUs
  • Understand the data management related to distributed training jobs
  • Familiarize how to launch distributed training jobs on Ibex resources
  • Understanding the scaling characteristics of your distributed training workload

A Quiz will be conducted after the training, which is mandatory to submit to ensure the continued use of KSL resources.

  Date

  • February 32th, 2023
  • 9:00 am - 11:30 am

  Venue

  • Room 4214, Level 4, Building 1

Organizers

Didier Barradas Bautista
Visualization Core Laboratory
didier.barradasbautista@kaust.edu.sa

Mohsin A. Shaikh
Supercomputing Core Laboratory
mohsin.shaikh@kaust.edu.sa


Workshop Materials

  • Slides: Slides
  • GitHub: GitHub
  • Recording: Recording
  • Documentation: Docs

Pre-requisites?

  • Have KAUST IT credentials (i.e. the ones you use to access your KAUST email)
  • Bring your laptop and have your terminal ready
  • Essential knowledge of Linux shell is necessary.
  • Have some experience working with Conda package manager.
  • Basic training “Data Science on-boarding on KSL platforms” or possess equivalent knowledge
workshop
Previous Next

Site Tools

  • Media Manager

Page Tools

  • Old revisions
  • Backlinks
  • Fold/unfold all
  • Back to top

User Tools

  • Log In
training/ds/2023/high_throughput_hyperparameter_optimization_of_ml/dl_models_on_ksl_platforms.txt · Last modified: 2023/05/04 11:46 by James Kress
Visualization Laboratory Wiki

Table of Contents

Table of Contents

  • High Throughput Hyperparameter Optimization of ML/DL models on KSL platforms
    • Overview
    • Learning Outcomes

Welcome to the KVL

  • Home
  • Training Events
  • Facilities
  • Highlights
  • Virtual Tours

KVL Documentation

  • Frequently Asked Questions
  • Visualization Tools User Guides
  • AR & VR Tools User Guides
  • Data Science Tools User Guides
  • Facility User Guides