-
Notifications
You must be signed in to change notification settings - Fork 707
Update EVal Payload to use pointers for larger objects #13013
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/13013
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 2 Unrelated FailuresAs of commit 8cb13d7 with merge base 943e34a ( NEW FAILURE - The following job has failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D79286076 |
This PR needs a
|
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Differential Revision: D79286076
f6af4ae to
09e3fd2
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79286076 |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Differential Revision: D79286076
09e3fd2 to
3e6e230
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
3e6e230 to
73022d4
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
73022d4 to
b3aacf8
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
b3aacf8 to
0cf2c1f
Compare
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
0cf2c1f to
ad8d641
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
ad8d641 to
bca2c72
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
bca2c72 to
9ce413d
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
9ce413d to
ffbe082
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
ffbe082 to
f07873e
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
f07873e to
30c5bfe
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating diff in D79286076. |
30c5bfe to
815079b
Compare
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating Diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
815079b to
6240e19
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating Diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
6240e19 to
669bc22
Compare
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating Diff in D79286076. |
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
df7f2c3 to
07b6f09
Compare
Summary: As noted in the comment, switching to ptrs in the union can save memory. Specifically, the size of this object goes from 24 bytes -> 8 bytes. In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer. Reviewed By: JacobSzwejbka Differential Revision: D79286076
07b6f09 to
8cb13d7
Compare
Summary:
As noted in the comment, switching to ptrs in the union can save memory.
Specifically, the size of this object goes from 24 bytes -> 8 bytes.
In this diff, we move to pointers for some of the larger objects. When parsing the flatbuffer, we allocate memory from the method allocator and store this in the EVal. The get* functions then de-reference that pointer.
Differential Revision: D79286076