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

Bump python to 3.9 and tf-nightly to 2.15.0.dev20230824 #14810

Merged
merged 5 commits into from
Aug 25, 2023

Conversation

hanhanW
Copy link
Contributor

@hanhanW hanhanW commented Aug 25, 2023

Fixes #14775

@hanhanW hanhanW added benchmarks:cuda Run default CUDA benchmarks benchmarks:x86_64 Run default x86_64 benchmarks benchmarks:comp-stats Run default compilation statistics benchmarks benchmarks:android-cpu Run default Android CPU benchmarks benchmarks:android-gpu Run default Android GPU benchmarks benchmarks:vulkan-nvidia Run default Vulkan benchmarks on NVIDIA GPU labels Aug 25, 2023
@github-actions
Copy link

github-actions bot commented Aug 25, 2023

@@ -1,2 +1,4 @@
# REQUIRES: llvmcpu
# RUN: %PYTHON -m iree_tfl_tests.mobilenet_v3-large_uint8_test --target_backend=llvmcpu --artifacts_dir=%t
# TODO(#14775): Enable the test.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we file a different issue for this failure? Since the PR marks #14775 as fixed, we might lose track of the test being disabled.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we should. This is mainly for testing. I will file an issue for this. There is a correctness issue.

Copy link
Contributor

@hcindyl hcindyl Aug 25, 2023

Choose a reason for hiding this comment

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

hmm... it seems to be an outstanding failure. The first occurrence was on tf-nightly==2.15.0.dev20230803 and iree-samples daily regression tests have been failing since https://github.com/iree-org/iree-samples/actions/runs/5752383899.

https://github.com/iree-org/iree-samples/actions/workflows/regression_tests.yml?page=2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Issue #14830 filed

@hanhanW
Copy link
Contributor Author

hanhanW commented Aug 25, 2023

@pzread @ScottTodd @stellaraccident please take a look if it is okay to bump python version to 3.9. This is required by tf-nightly package: https://pypi.org/project/tf-nightly/

image

@ScottTodd
Copy link
Member

@pzread @ScottTodd @stellaraccident please take a look if it is okay to bump python version to 3.9. This is required by tf-nightly package: https://pypi.org/project/tf-nightly/

image

We have a few other parts of the project that refer to Python 3.8 that we could update, e.g. https://github.com/openxla/iree/blob/85a5425cc8c0b5c4c1db2aa1e242df604bf340ff/compiler/setup.py#L426

I think that can happen in a future cleanup PR though.

@hanhanW hanhanW marked this pull request as ready for review August 25, 2023 18:17
@hanhanW hanhanW enabled auto-merge (squash) August 25, 2023 18:31
@hanhanW hanhanW merged commit 7d7391f into iree-org:main Aug 25, 2023
58 checks passed
@hanhanW hanhanW deleted the bump-tf-nightly branch August 25, 2023 19:52
@stellaraccident
Copy link
Collaborator

If it were me, I would bump to 3.11 or 3.10. I see no value in the old versions for where we are. But if you are doing the work, I'm not going to push back.

@hanhanW
Copy link
Contributor Author

hanhanW commented Aug 25, 2023

If it were me, I would bump to 3.11 or 3.10. I see no value in the old versions for where we are. But if you are doing the work, I'm not going to push back.

I mainly wanna re-enable benchmark suites because I need them to evaluate some of patches, so I just picked a working version. I'm not going to touch this part. Feel free to bump it to 3.10 or 3.11 if it is better.

@hcindyl
Copy link
Contributor

hcindyl commented Aug 25, 2023

if we want to bump to 3.10 or 3.11, the base docker needs to be bumped from ubuntu 20.04 to ubuntu 22.04 -- the highest python 3 for ubuntu 20.04 is 3.9

https://packages.ubuntu.com/search?keywords=python3.9
https://packages.ubuntu.com/search?keywords=python3.10
https://packages.ubuntu.com/search?keywords=python3.11

hanhanW added a commit to hanhanW/iree that referenced this pull request Aug 29, 2023
The python minimum support was bumped to 3.9 in iree-org#14810
hanhanW added a commit that referenced this pull request Aug 30, 2023
The python minimum support was bumped to 3.9 in #14810 This is a follow-up to update other documents and setups to Python 3.9.

Fixes #14863
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarks:android-cpu Run default Android CPU benchmarks benchmarks:android-gpu Run default Android GPU benchmarks benchmarks:comp-stats Run default compilation statistics benchmarks benchmarks:cuda Run default CUDA benchmarks benchmarks:vulkan-nvidia Run default Vulkan benchmarks on NVIDIA GPU benchmarks:x86_64 Run default x86_64 benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TOSA importer failed after 08-17-2023 integrate
5 participants