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

tensorflow-lite: Add v2.15.0 #21763

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

talyz
Copy link
Contributor

@talyz talyz commented Dec 14, 2023

Specify library name and version: tensorflow-lite/v2.15.0

Add 2.15.0 and update a few dependencies which were causing crashes when running on M1 macs under rosetta. Also, remove 2.12.0, which was just a copy of 2.10.0.

Depends on #21762, #21761, #21760 and #21759, which should be merged before this.


@ericLemanissierBot
Copy link

ericLemanissierBot commented Dec 14, 2023

I detected other pull requests that are modifying tensorflow-lite/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

@minus7
Copy link

minus7 commented Dec 20, 2023

Removal of 2.12.0 closes #20170

I tested this and it works (in contrast to the currently published versions 2.10 and "2.12", which fail to build)

@talyz
Copy link
Contributor Author

talyz commented Feb 28, 2024

Rebased on master, now that the dependent package updates are merged.

@conan-center-bot

This comment has been minimized.

@talyz talyz force-pushed the tensorflow-lite-2.15.0 branch 2 times, most recently from fe6974e to e8483a2 Compare February 28, 2024 15:30
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@talyz
Copy link
Contributor Author

talyz commented Mar 1, 2024

All build failures and linter issues should be resolved now and this should be ready for review. We're using this package in production since a few months back (static build, windows and mac).

@mologie
Copy link
Contributor

mologie commented Mar 1, 2024

Likewise using this on macOS, iOS, and Linux without modification. Cross-compiling to Android requires working around a problem in xnnpack/clang, but that's an upstream issue and I'll provide a separate PR to the xnnpack recipe once this one is merged. LGTM, thank you @talyz for building this integration!

(I am not associated with JFrog, still needs maintainer approval.)

@talyz
Copy link
Contributor Author

talyz commented Mar 18, 2024

Just rebased on master to get the separate dependency update in. @uilianries is there anything more that needs to happen for this to be reviewed / merged?

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can be simplified or even avoided by using CMakeDeps.set_property() on the cmake_file_name and cmake_target_name properties.

@mologie
Copy link
Contributor

mologie commented Jun 7, 2024

Authentic Vision is now using this recipe as-is in production since April with no known issues on Ubuntu 22.04, 24.04, iOS 13-17, and Android 6-14. The XNNPACK change at #22951 was recently merged to allow building for Android -- if anyone following this PR wants to do that, bump your caches :).

We'd eventually want to bump TensorFlow and its dependencies to 2.15.1 and 2.16.X, would appreciate if this could be reviewed again and merged in preparation for that.

@RubenRBS
Copy link
Member

RubenRBS commented Jun 8, 2024

We'd eventually want to bump TensorFlow and its dependencies to 2.15.1 and 2.16.X, would appreciate if this could be reviewed again and merged in preparation for that.

We'll push this review forward this next week, thanks a lot for taking the time to create the PR in the first place. Could you fix the conandata conflicts meanwhile? Thanks!

@mologie
Copy link
Contributor

mologie commented Jun 9, 2024

We'll push this review forward this next week, thanks a lot for taking the time to create the PR in the first place. Could you fix the conandata conflicts meanwhile? Thanks!

Thanks for the update @RubenRBS, the original author is @talyz though and probably received your comment with this thread anyway. I have just been using this recipe from this branch and worked on Android dependencies a bit.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Sorry, the system is under maintenance and it doesn't accept builds right now.

Motivation: Scheduled infra work for Jun 9th

Please, check https://status.conan.io to obtain more information.
Thanks for your understanding and help with the Conan Center Index!

Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Sorry, the system is under maintenance and it doesn't accept builds right now.

Motivation: Scheduled infra work for Jun 9th

Please, check https://status.conan.io to obtain more information.
Thanks for your understanding and help with the Conan Center Index!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants