How to launch accelerate if my script is not `**.py`

My code is launched by python -m module config.jsonnet.

how to use accelerate to launch it because I find accelerate only supports command like accelerate launch

You can do accelerate launch -m config.jsonnet. accelerate launch -h will show this or any of the docs :slight_smile:

1 Like