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

Python 3.11 support #1848

Merged
merged 8 commits into from
Feb 10, 2023
Merged

Python 3.11 support #1848

merged 8 commits into from
Feb 10, 2023

Conversation

powderluv
Copy link
Collaborator

@powderluv powderluv commented Feb 4, 2023

Add Python 3.11 binaries for torch-mlir. After this PR on Linux we will have 3.8 (for colab), 3.10 (previous stable) and 3.11 (stable Python). On macOS and Windows we will have only the current stable Python version 3.11. Source builds will work on any Python 3.6 and above.

Copy link
Collaborator

@ashay ashay left a comment

Choose a reason for hiding this comment

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

LGTM! Just out of curiosity, won't we hit against the GitHub Actions Limit now that we've added another Python version for our macOS builds?

@ashay
Copy link
Collaborator

ashay commented Feb 10, 2023

Sorry, checked again and noticed that macOS builds refer to 3.11 only now.

@powderluv
Copy link
Collaborator Author

We added it to the default list but we override it from the GHA to only build 3.11. Here is a sample run https://github.com/llvm/torch-mlir/releases/tag/oneshot-20230210.82 with 3.11.

@powderluv powderluv merged commit 320e67f into main Feb 10, 2023
@powderluv powderluv deleted the powderluv-py311 branch February 10, 2023 19:37
gpetters94 pushed a commit to gpetters94/mlir-npcomp that referenced this pull request May 10, 2023
* Python 3.11 support

* test without torchvision

* Update pytorch-requirements.txt

* Update buildRelease.yml

* Update action.yml

* Update install_macos_deps.sh

* Update build_macos_packages.sh
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.

2 participants