lerobot icon indicating copy to clipboard operation
lerobot copied to clipboard

pi0 multi gps train

Open ximiluuuu opened this issue 9 months ago • 1 comments

if i have multi 4090, how to modify to train pi0?

only 1 4090 just error Image

ximiluuuu avatar Apr 08 '25 13:04 ximiluuuu

same question + 1

BruceGeLi avatar Apr 08 '25 13:04 BruceGeLi

same question + 1

sad

ximiluuuu avatar Apr 09 '25 07:04 ximiluuuu

Also like to know. Another question is how to freeze siglip and gemma, and only update the para for gemma expert?

YanJiaHuan avatar Apr 09 '25 08:04 YanJiaHuan

Also like to know.  也想知道。 Another question is how to freeze siglip and gemma, and only update the para for gemma expert?另一个问题是如何冻结 siglip 和 gemma,只更新 gemma expert 的段落?

+1 i have same question

ximiluuuu avatar Apr 17 '25 13:04 ximiluuuu

+1 not everyone have h100

Jack-liu1998 avatar Apr 23 '25 03:04 Jack-liu1998

they seems to freeze already, only train action expert, but it still taks up 29G on GPU.

YanJiaHuan avatar Apr 23 '25 05:04 YanJiaHuan

they seems to freeze already, only train action expert, but it still taks up 29G on GPU.他们似乎已经冻结了,只训练 Action Expert,但它在 GPU 上仍然占用 29G。

sad

ximiluuuu avatar Apr 23 '25 08:04 ximiluuuu

Also like to know. Another question is how to freeze siglip and gemma, and only update the para for gemma expert?

Try setting train_expert_only = True, this will enable you to train your model with a single GPU with 24 G.

chenkang455 avatar Apr 26 '25 12:04 chenkang455

前辈们成功使用多卡训练了吗?😟

zttiannnn avatar Jun 23 '25 12:06 zttiannnn

huggingface trainer is easy to use distributed training, just wonder why they do not use it

YanJiaHuan avatar Jun 24 '25 01:06 YanJiaHuan

Hi we update our pi0 implementation and released pi05 support in this PR: https://github.com/huggingface/lerobot/pull/1910 🚀 . If you still have this issue please reopen this thread, but I am closing it for now. We also will introduce multi gpu training with accelerate soon.

pkooij avatar Oct 08 '25 08:10 pkooij

前辈们成功使用多卡训练了吗?😟

前辈们成功了嘛

qinglin-ai avatar Nov 20 '25 03:11 qinglin-ai