nodelist-inflator

Expands hostnames/nodelists


Keywords
nodelist_inflator, slurm, hostnames
License
MIT
Install
pip install nodelist-inflator==0.2.0

Documentation

Nodelist-Inflator

This is a simple CLI tool to extract individual nodes (hostnames) from a nodelist and write them to a file to be used by DeepSpeed.

For example, if you have a nodelist containing the following:

ip-xxxxxx,ip-yyyyyy,ip-aaaaa-[b-c,f]

It will write the following to the file hostname

ip-xxxxxx slots=8
ip-yyyyyy slots=8
ip-aaaaab slots=8
ip-aaaaac slots=8
ip-aaaaaf slots=8

Usage

nodelist_inflate --nodelist=ip-xxxxxx,ip-yyyyyy,ip-aaaaa-[b-c,f] --write