-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[TFLite][CI] Update TensorFlow dependency to 2.9.1 #12131
Conversation
8f0fa97
to
2dd5353
Compare
@leandron when investigating the Python deps I also came across this bug. We currently build a tflite library from the tensorflow source, and in TF 2.7 the build system was switched to CMake I believe. I haven't yet had time to solve this, but I'll let you know if I do. |
This is solved in this PR. The only issue is that the CI is testing with the old images. I'll generate a new set from |
Yes. However it still requires the Docker images to have the updated TF for the whole CI. I generated a new set, and will make a new CI staging run with the new images. Then it should be fine. |
ah ok cool--lmk when i can take a look at them |
2dd5353
to
78b7949
Compare
@areusch just to update here as we're discussing, once this is merged, the PR that updates the Docker images, will need to update
to:
This way we keep the default source based installation in the new format introduced here. If I happen to do the update myself, I'll do that update above, but it will be evident if this is not there, the build will fail at Docker image testing time. |
@mbrookhart could you have a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor comments, but overall I think I'm okay with this.
af4871f
to
d56e23f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm once comments are addressed
Thanks @driazati |
@tvm-bot rerun |
a298c8c
to
5b4c57f
Compare
@tvm-bot rerun |
22fd81d
to
4bc5e11
Compare
This updates the TF version to be used in TVM CI to 2.9.1, which brings improvements so that more platforms are supported by official packages. When building TFLite, an update to CMake was also required, which is updated now to 3.18.4. ethos-u-vela dependency is also updated, from version 3.2.0 to 3.4.0 so that it is closer to the TensorFlow version being proposed here. This PR updates the Docker images scripting to install TF and TFLite. Change-Id: I290085f0c018ad57606f1295494c19ff6e1af2dd
4bc5e11
to
73c0dea
Compare
Looks good to me, just wanted to mention that this might break microTVM testing on hardware since RVM uses a different tensorflow version. If it does we need a follow up PR. tvm/apps/microtvm/pyproject.toml Line 107 in 2622ac9
|
Did this change recently? I’ve run many test rounds and haven’t seen any breakage in microtvm |
thanks @leandron !! |
@leandron I don't think it changed recently, it should be fine |
This updates the TF version to be used in TVM CI to 2.9.1, which brings improvements so that more platforms are supported by official packages. When building TFLite, an update to CMake was also required, which is updated now to 3.18.4. ethos-u-vela dependency is also updated, from version 3.2.0 to 3.4.0 so that it is closer to the TensorFlow version being proposed here. This PR updates the Docker images scripting to install TF and TFLite. Change-Id: I290085f0c018ad57606f1295494c19ff6e1af2dd
This updates the TF version to be used in TVM CI to 2.9.1, which brings improvements so that more platforms are supported by official packages. This PR updates the Docker images scripting to install TF and TFLite and some CMake changes required when updating from TF 2.6.x to 2.9.x.
Adding it here as a draft until we get #12130 merged.
cc @Mousius @NicolaLancellotti @areusch @driazati @gigiblender