SeanLee97/AnglE

How to use accelerate to multi gpu train and encode?

WanBenLe opened this issue · 2 comments

It seems to be will rasie error..

File "/AnglE-main/angle_emb/angle.py", line 459, in call
input_ids = feature['input_ids']
KeyError: 'input_ids'

hi @WanBenLe , sorry for the delay. I tested training using multiGPU, it works fine.

Could you enclose your training script here? So that I can reproduce your issue.