-
Notifications
You must be signed in to change notification settings - Fork 569
Add cmake support for flat tensor #8349
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8349
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit dba39e0 with merge base 71b8b75 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
4d3aad8
to
1021cba
Compare
1021cba
to
dba39e0
Compare
Pull Request resolved: #8200 Add NamedDataMap as an arg to: - Method - load_method - parseTensor Use NamedDataMap to resolve external tensors in parseTensor. Test that the PTE + PTD file run well inside method_test. TODO: additional test cases. also, tests for mutable case with load_data_into when that is landed, see D69148652. Land after: #8349, which adds CMake support for FlatTensor. Note: dependency on D66580784, which fixes some failing RL tests exposed by this diff from inclusion of portable and aten headers. https://www.internalfb.com/code/fbsource/[2b74908ed03c34fbfd53fb57575eba0964fe0136][history]/arvr/projects/depthsensing/products/depthmanager/depth/stereo/MlStereoDisparityModelExecutorchBackend.h?lines=13-15 ghstack-source-id: 265828564 @exported-using-ghexport Differential Revision: [D67127327](https://our.internmc.facebook.com/intern/diff/D67127327/)
Pull Request resolved: #8200 Add NamedDataMap as an arg to: - Method - load_method - parseTensor Use NamedDataMap to resolve external tensors in parseTensor. Test that the PTE + PTD file run well inside method_test. TODO: additional test cases. also, tests for mutable case with load_data_into when that is landed, see D69148652. Land after: #8349, which adds CMake support for FlatTensor. Note: dependency on D66580784, which fixes some failing RL tests exposed by this diff from inclusion of portable and aten headers. https://www.internalfb.com/code/fbsource/[2b74908ed03c34fbfd53fb57575eba0964fe0136][history]/arvr/projects/depthsensing/products/depthmanager/depth/stereo/MlStereoDisparityModelExecutorchBackend.h?lines=13-15 ghstack-source-id: 265828564 @exported-using-ghexport Differential Revision: [D67127327](https://our.internmc.facebook.com/intern/diff/D67127327/) Co-authored-by: lucylq <[email protected]>
"${CMAKE_CURRENT_BINARY_DIR}/_default_external_constant.ptd" | ||
) | ||
|
||
set(test_env_ |
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.
stuff in this file seems to get clobbered if I rerun python test/utils/generate_gtest_cmakelists.py
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.
Oh I guess she manually wrote it instead of having it generated @lucylq can you take a look, or if its faster we can just black list this dir in the script
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.
shouldn't need to be blocklisted, just drop it from the config
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.
Ah, I generated it and then edited it to create the example pte files. I'll remove it from OSSTestConfig.json.
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.
Summary
Add cmake support for flat tensor
Test plan