EleutherAI / oslo

OSLO: Open Source for Large-scale Optimization
https://oslo.eleuther.ai
174 stars 29 forks source link

Wrong import in zero #169

Closed jinwonkim93 closed 1 year ago

jinwonkim93 commented 1 year ago

Title

Prevent from using torch 2.0

Description

olso Dependency

other issues

Linked Issues

KKIEEK commented 1 year ago

I think the following solution seems better. https://github.com/hpcaitech/ColossalAI/commit/8e3f66a0d1ab44ecbee5917d15320e33ad118b5f

jinwonkim93 commented 1 year ago

I think the following solution seems better. hpcaitech/ColossalAI@8e3f66a

you are right. what do you think of limiting python 2.0 until tested.

KKIEEK commented 1 year ago

In my opinion, supporting PyTorch 2.0 is very important since PyTorch 2.0 support powerful new features such as torch.compile. Therefore, it would be better to solve versioning issues whenever the issue arises.