mila-iqia / milatools

Tools to connect to and interact with the Mila cluster
MIT License
63 stars 12 forks source link

invoke.exceptions.UnexpectedExit: Encountered a bad command exit code! #31

Open InesArous opened 1 year ago

InesArous commented 1 year ago

Using the command line: --alloc --gres=cpu:8 as mentioned in the readme file produces the error: Encountered a bad command exit code! Instead, I had to run --alloc --cpus-per-task=8 to allocate 8 cpus per and or using gpus: --gpus=n to allocate n gpus.