Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1010 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 1010 Bytes

[CVPR 2024] Efficient Hyperparameter Optimization with Adaptive Fidelity Identification

FastBO is implemented based on Syne Tune.

How to use

Install FastBO: install everything in a virtual environment st_venv.Remember to activate this environment before working with FastBO. We also recommend building the virtual environment from scratch now and then, in particular when you pull a new release, as dependencies may have changed.

git clone https://github.com/jjiantong/FastBO.git
cd FastBO
python3 -m venv st_venv
. st_venv/bin/activate
pip install --upgrade pip
pip install -e '.[extra]'

Quick start for a simple example: run Bayesian Optimization with 4 workers on a local machine. Please note that you have to report metrics from a training script so that they can be communicated later to FastBO. The training script for this example is experiments/lcbench_bo.py.

cd experiments
python3 lcbench_bo.py

Basic ideas