LucaPCycle icon indicating copy to clipboard operation
LucaPCycle copied to clipboard

Training on multiple GPUs

Open sbc806 opened this issue 1 year ago • 2 comments

Hello,

I am currently trying to train the model using 4 A100 GPUs.

I changed the export line so that the devices 0, 1, 2, and 3 are visible. I also changed the command to be torchrun --nproc-per-node=4 --nnodes=1 run.py args, however this results in ValueError: Invalid pattern: '**' can only be an entire path component.

I was wondering then if it might be possible to see the script used for training with multiple GPUs.

Thank you! Sarah

sbc806 avatar Aug 25 '25 15:08 sbc806

Hello,

I am currently trying to train the model using 4 A100 GPUs.

I changed the export line so that the devices 0, 1, 2, and 3 are visible. I also changed the command to be torchrun --nproc-per-node=4 --nnodes=1 run.py args, however this results in ValueError: Invalid pattern: '**' can only be an entire path component.

I was wondering then if it might be possible to see the script used for training with multiple GPUs.

Thank you! Sarah

In your conda environment, please update: pip install fsspec==2023.5.0 pip install triton==1.0.0

LucaOne avatar Aug 27 '25 23:08 LucaOne

Thank you for the fix!

sbc806 avatar Aug 27 '25 23:08 sbc806