liveBook · Manning

Ray Tune

Ray Tune is a Ray library for distributed hyperparameter tuning and experiment management.

How 2 Manning books explain it

Designing Deep Learning Systems: A guide for software engineers

Ray Tune is a library for distributed hyperparameter tuning and experiment execution built on the Ray platform.

How it is used
Automates hyperparameter searches for model training on local machines, managed clusters, or multinode Ray deployments.
How deep it goes
Explains objective functions, search spaces, schedulers, and distributed execution, while stopping short of detailed algorithm internals.
Examples
Demonstrates convolutional-network training with learning rate and momentum searches, ASHA scheduling, and multinode cluster execution.
What you can do after
Build it from scratch by defining an objective function, search space, scheduler, and distributed Tune run.

Read how Designing Deep Learning Systems: A guide for software engineers explains Ray Tune →

Transformers in Action

Ray Tune is a Ray library for distributed hyperparameter tuning and experiment management.

How it is used
Orchestrates distributed hyperparameter searches and experiment management for model training.
How deep it goes
Implements dataset conversion, tokenization, distributed training, search scheduling, checkpoint selection, retraining, and model loading.
Examples
Uses SuperGLUE CommitmentBank classification with searched learning rates, epochs, batch sizes, and weight decay.
What you can do after
Apply it via Ray Tune to compare configurations, select the lowest-loss trial, retrain, restore, and publish a model.

Read how Transformers in Action explains Ray Tune →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.