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

Update TF to 2.6.0rc2 #52

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Update TF to 2.6.0rc2 #52

wants to merge 6 commits into from

Conversation

yotarok
Copy link

@yotarok yotarok commented Aug 18, 2021

(Sending this with assuming that previous attempts to updating it to 2.4.1 is halting now.)

This PR updates the base Tensorflow version to 2.6.0rc2.
I think it is easy to again upgrade it to the official 2.6.0 once this is merged.

Upgrading to 2.6.0rc2 required a strange patch for making it compatible with macOS+LLVM environment.
yotarok/tflite-rs-downloads@29c578e
I hope it is okay, but I think I should dive a bit deeper to find a root cause of this.

Copy link
Owner

@boncheolgu boncheolgu left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.
But, CI failed to build the package in linux.

build.rs Outdated Show resolved Hide resolved
@yotarok
Copy link
Author

yotarok commented Aug 30, 2021

Apologies for the delayed response. I updated the branch accordingly.

I also want to ask you to check this.
5ad2e0b#diff-2b4c64d813af7f82a479db363ada9340f6e88a1287ac1624dae1354ec7e4f4caR397

"model.buffers" here only have 24 elements, and erasing 23-rd element in the second line was impossible.
If my understanding is correct, and the fix is okay, I will remove this comment.

@@ -374,7 +394,7 @@ mod tests {
model.version = 2;
model.operator_codes.erase(4);
model.buffers.erase(22);
model.buffers.erase(23);
model.buffers.erase(22); // why it was okay before fixing it from 23 to 22?
Copy link
Owner

Choose a reason for hiding this comment

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

I think you are right.
I will look into what's behind.

@@ -3,4 +3,4 @@
url = https://github.com/tensorflow/tensorflow.git
[submodule "submodules/downloads"]
path = submodules/downloads
url = https://github.com/boncheolgu/tflite-rs-downloads
url = https://github.com/yotarok/tflite-rs-downloads
Copy link
Owner

Choose a reason for hiding this comment

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

Could you also submit a PR for the changes to https://github.com/boncheolgu/tflite-rs-downloads?

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