◐ Shell
clean mode source ↗

GitHub - zdevito/single_controller

Getting Started With Examples

Install the package:

For supervisor

Run the example_train application, which simulates training. There is some stuff commented out which can be enabled to inject failures.

python example_train/launch.py

The other files in the folder are the different parts of the job (health_check, train, supervisor script).

For single_controller tensors

Run the tests (kinda noisy at this point)

Prepare data for nanoGPT example:

cd nanoGPT
python data/shakespeare_char/prepare.py

Run the nanoGPT example:

cd nanoGPT
python train.py config/train_shakespeare_char.py

See flags in single_controller/config.py for changing behaviors.