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

[Relay][Testing][Bugfix] py_converter should use correct AST for versions above 3.8 too #13635

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

slyubomirsky
Copy link
Contributor

Currently, relay.testing.py_converter is checking for using exactly Python 3.8 in order to use certain updated signatures in the ast library. However, those signatures are also correct for versions above 3.8. This PR changes the bounds checks so that the converter will work above 3.8.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Dec 16, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to tag found in teams: relay, testing, bugfix See #10317 for details

Generated by tvm-bot

@junrushao junrushao merged commit e3afc92 into apache:main Dec 17, 2022
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
…rsions above 3.8 too (apache#13635)

Currently, `relay.testing.py_converter` is checking for using _exactly_ Python 3.8 in order to use certain updated signatures in the `ast` library. However, those signatures are also correct for versions _above_ 3.8. This PR changes the bounds checks so that the converter will work above 3.8.
mikeseven pushed a commit to mikeseven/tvm that referenced this pull request Sep 27, 2023
…rsions above 3.8 too (apache#13635)

Currently, `relay.testing.py_converter` is checking for using _exactly_ Python 3.8 in order to use certain updated signatures in the `ast` library. However, those signatures are also correct for versions _above_ 3.8. This PR changes the bounds checks so that the converter will work above 3.8.
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.

5 participants