Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for python3.12 #870

Merged
merged 2 commits into from
May 26, 2024
Merged

Update for python3.12 #870

merged 2 commits into from
May 26, 2024

Conversation

Wongboo
Copy link
Contributor

@Wongboo Wongboo commented Mar 6, 2024

No description provided.

@jc-louis jc-louis mentioned this pull request Apr 9, 2024
Comment on lines +135 to +136
# For some reason torch 2.2.0 on python 3.12 errors saying no setuptools
pip install setuptools
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 probably PEP 632

PEP 632: Remove the distutils package. See the migration guide for advice replacing the APIs it provided. The third-party Setuptools package continues to provide distutils, if you still require it in Python 3.12 and beyond.

@jc-louis
Copy link

jc-louis commented Apr 9, 2024

@tridao wdyt? this could be very useful to unlock python3.12, thanks!

@tridao tridao merged commit 40e6672 into Dao-AILab:main May 26, 2024
rocking5566 pushed a commit to rocking5566/flash-attention that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants