Multi GPU training acceleration
Hi, I am using multiple GPU for training by setting fsdp_device=n, batch_size=8*n, cuda_devcie_visible=n
But when actually training, the speed does not accelerate a lot, but only increase by 10%, is there anything missing to speed it up?
Thanks
@yuwei-will-xia fsdp is probably is not what you need.
By default openpi training script already use all available GPU
FSDP is needed if model does not fit into a single GPU
Hi,
I’ve encountered a similar problem. I finetuned pi0_fast_libero. What I did correctly was to set fsdp_devices to the default value of 1. However, I still find that the GPU utilization is mostly idling, and the training speed is around 2 seconds per iteration. I’m using 8x H100 GPUs.
When I switch to using just 1x H100 GPU, the speed is nearly the same, and the GPU utilization reaches 100%. It seems like the bottleneck is related to I/O.
I note that you have also support RLDS ( is that called simpledata class?), is it possible to train on Libero with RLDS format
I note that you have also support RLDS ( is that called simpledata class?), is it possible to train on Libero with RLDS format
hello! I encountered similar situation. Do you find the bottleneck? Thanks
I have encouter the same problem. I use 8xh100, global batchsize=96. Use default training(maybe full parameter). And the training speed is around 2s/it. Which is 2 times slower than version of deepspeed training framework.
the bottleneck is mainly in I/O, a simple way is to copy data in to /dev/shm folder
the bottleneck is mainly in I/O, a simple way is to copy data in to /dev/shm folder
Can you explain "explicit"?