Skip to content

jiahao87/ray_tune_hyperparameter_tuning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository contains the code template for hyperparameter tuning using Ray Tune.

Ray Tune is a Python library for hyperparameter tuning at any scale, allowing us to easily perform multi-node distributed computing to evaluate various hyperparameter configurations at the same time.

Ray Tune logo

Guidelines for using code:

  1. Setup Google Cloud Authentication
  1. Enable the following APIs
  • Cloud resource manager API
  • Identity and Access Management (IAM) API
  • Compute Engine API
  1. Copy paste project ID to project_id in cluster_config_cpu.yml config file
  2. Launch your cluster by running in terminal:
ray up -y cluster_config_cpu.yml
  1. Start hyperparameter tuning trials by executing in terminal:
ray submit cluster_config_cpu.yml tune_cifar10.py
# To trial run scripts, add argument smoke-test
# ray submit cluster_config_cpu.yml tune_cifar10.py --args="--smoke-test"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages