-
Notifications
You must be signed in to change notification settings - Fork 781
FlatTensor alignment tests #16317
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
FlatTensor alignment tests #16317
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16317
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 049d87a with merge base 227ff2e ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
Summary: 1. Pass segment_alignment from ExecutorchBackendConfig to flat tensor serializer 2. Set segment_alignment=128 as default to match ExecutorchBackendConfig 3. Remove tensor_alignment from the config (do not have multiple tensors per segment) 4. Additional tests for varying segment alignment. Differential Revision: D89422691
29e9c22 to
260adb2
Compare
Summary: 1. Pass segment_alignment from ExecutorchBackendConfig to flat tensor serializer 2. Set segment_alignment=128 as default to match ExecutorchBackendConfig 3. Remove tensor_alignment from the config (do not have multiple tensors per segment) 4. Additional tests for varying segment alignment. Differential Revision: D89422691
260adb2 to
e334922
Compare
larryliu0820
left a comment
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.
Review automatically exported from Phabricator review in Meta.
Summary: 1. Pass segment_alignment from ExecutorchBackendConfig to flat tensor serializer Other changes: 2. Set segment_alignment=128 as default to match ExecutorchBackendConfig 3. Remove tensor_alignment from the config (we do not have multiple tensors per segment anymore) 4. Set flatbuffer alignment=16. I don't think we need any alignment at the moment here, but can't hurt. The PTE file aligns flatbuffer to the largest force_align value in the schema, which the PTD file doesn't have. 5. Additional tests for varying segment alignment. Reviewed By: larryliu0820 Differential Revision: D89422691
e334922 to
767d687
Compare
Summary: 1. Pass segment_alignment from ExecutorchBackendConfig to flat tensor serializer Other changes: 2. Set segment_alignment=128 as default to match ExecutorchBackendConfig 3. Remove tensor_alignment from the config (we do not have multiple tensors per segment anymore) 4. Set flatbuffer alignment=16. I don't think we need any alignment at the moment here, but can't hurt. The PTE file aligns flatbuffer to the largest force_align value in the schema, which the PTD file doesn't have. 5. Additional tests for varying segment alignment. Reviewed By: larryliu0820 Differential Revision: D89422691
767d687 to
adebf53
Compare
Summary: 1. Pass segment_alignment from ExecutorchBackendConfig to flat tensor serializer Other changes: 2. Set segment_alignment=128 as default to match ExecutorchBackendConfig 3. Remove tensor_alignment from the config (we do not have multiple tensors per segment anymore) 4. Set flatbuffer alignment=16. I don't think we need any alignment at the moment here, but can't hurt. The PTE file aligns flatbuffer to the largest force_align value in the schema, which the PTD file doesn't have. 5. Additional tests for varying segment alignment. Reviewed By: larryliu0820 Differential Revision: D89422691
adebf53 to
5c9d110
Compare
Summary: 1. Pass segment_alignment from ExecutorchBackendConfig to flat tensor serializer Other changes: 2. Set segment_alignment=128 as default to match ExecutorchBackendConfig 3. Remove tensor_alignment from the config (we do not have multiple tensors per segment anymore) 4. Set flatbuffer alignment=16. I don't think we need any alignment at the moment here, but can't hurt. The PTE file aligns flatbuffer to the largest force_align value in the schema, which the PTD file doesn't have. 5. Additional tests for varying segment alignment. Reviewed By: larryliu0820 Differential Revision: D89422691
5c9d110 to
bf7fc9e
Compare
Summary: 1. Pass segment_alignment from ExecutorchBackendConfig to flat tensor serializer Other changes: 2. Set segment_alignment=128 as default to match ExecutorchBackendConfig 3. Remove tensor_alignment from the config (we do not have multiple tensors per segment anymore) 4. Set flatbuffer alignment=16. I don't think we need any alignment at the moment here, but can't hurt. The PTE file aligns flatbuffer to the largest force_align value in the schema, which the PTD file doesn't have. 5. Additional tests for varying segment alignment. Reviewed By: larryliu0820 Differential Revision: D89422691
bf7fc9e to
049d87a
Compare
Summary:
Differential Revision: D89422691