CmdID

CmdID / Commands

accelerate

A library that enables the same PyTorch code to be run across any distributed configuration. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Print environment information

accelerate envIdentify

Interactively create a configuration file

accelerate configIdentify

Print the estimated GPU memory cost of running a Hugging Face model with different data types

accelerate estimate-memory name/modelIdentify

Test an Accelerate configuration file

accelerate test --config_file path/to/config.yamlIdentify

Run a model on CPU with Accelerate

accelerate launch path/to/script.py --cpuIdentify

Run a model on multi-GPU with Accelerate, with 2 machines

accelerate launch path/to/script.py --multi_gpu --num_machines 2Identify