OpenBMB / BMTrain

Efficient Training (including pre-training and fine-tuning) for Big Models
Apache License 2.0
548 stars 74 forks source link

Segment fault when the code ends #66

Closed lhj-git closed 1 year ago

lhj-git commented 1 year ago

When using bmtrain to train my model, the code successfullt run to the last line but give me a segment fault. image

a710128 commented 1 year ago

Does torchrun work well without bmtrain?

lhj-git commented 1 year ago

No, it tells me about segment fault even with an empty python file

a710128 commented 1 year ago

It looks like this is a bug in torchrun and not a bug in bmtrain.