NX-AI / xlstm

Official repository of the xLSTM.
GNU Affero General Public License v3.0
918 stars 66 forks source link

python3.9 with gcc-8.5 #7

Open lzhbrian opened 3 weeks ago

lzhbrian commented 3 weeks ago

Hi, thanks for the work! I am trying to install with my env (python 3.9.7, gcc-8.5.0, pytorch2.3.0) (for some reasons, I can only use this environment.). The installation seems suceessfull. pip install xlstm --ignore-requires-python.

However, when I tried to init a xLSTMBlockStack, an error shows: "You're trying to build PyTorch with a too old version of GCC. We need GCC 9 or later".

Any plans on supporting legacy version of python? Or is there a quick fix that could bypass the above gcc version check?

Thanks!

yelou2022 commented 1 day ago

I encountered the same problem. I wish the author could solve this problem, because we usually do not have permission to modify the laboratory environment. If this problem is solved successfully, I think it should help promote xLSTM.