-
Notifications
You must be signed in to change notification settings - Fork 54
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
Tf v2.4.1 #44
base: master
Are you sure you want to change the base?
Tf v2.4.1 #44
Conversation
Once boncheolgu/tflite-rs-downloads#2 gets merged, we'll want to update the submodule to use the merge commit. |
Also, I should note that I'm seeing some warnings on the c++ side of things. How would you like me to handle them?
|
Cargo.toml
Outdated
@@ -20,19 +20,31 @@ include = [ | |||
"data/", | |||
"csrc/", | |||
"src/", | |||
"submodules/downloads", | |||
"submodules/downloads/ruy", |
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.
If there are things in downloads that we don't need, we should drop them in the script, and keep this simple.
src/model/builtin_options_impl.rs
Outdated
@@ -1,3 +1,4 @@ | |||
|
|||
use super::{BuiltinOptions, BuiltinOptionsUnion, NativeTable}; |
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.
Looks like this file had rustfmt
run on it and that's why there's all the changes.
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.
The changes in these _impl
files come from when we run with the generate_model_apis
feature on.
src/model/stl/vector_impl.rs
Outdated
@@ -1,10 +1,11 @@ | |||
use std::ops::{Deref, DerefMut, Index, IndexMut}; |
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.
rustfmt changes
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.
These changes come from building with the generate_model_apis
feature on.
src/model/stl/memory_impl.rs
Outdated
@@ -1,5 +1,6 @@ | |||
use std::ops::{Deref, DerefMut}; |
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.
rustfmt changes
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.
These changes come from building with the generate_model_apis
feature on.
I see that the Jenkins builders have failed. It looks like I'll need to be less aggressive in the files that I remove to get the package size under the 10mb crates.io limit. |
maybe-owned = "0.3.4" | ||
thiserror = "1.0.20" | ||
cpp = "0.5" | ||
libc = "0.2" |
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.
Loosening these dependencies because we can rely upon semver for them.
…removing target .inc files now that tensorflow has them
…o namespace issues
…he interpreter mod.
We were running into some issues where the TensorFlow Lite model we've been provided is too new for @jasonahills and @tylerhawkes, is there anything I can do to help push this PR through? |
We still need to port all of the model code over to get it mergeable. As you can see, we've moved all of the inference code to using cxx and it all works great. The code to inspect and build models segfaults so it needs to use cxx as well and it's got the largest api surface area. Anything you can do on that would help out a lot. I can give you access to our branch if that will help out or you can make pull requests to our branch. We also have this published on cloudsmith. You'll need to add |
Updates
tensorflow
submodule tov2.4.1
tag so that we can have more supported operations.Updates dependencies (and weakens version requirements).