Resolve Operator fallback to method allocator if temp alloc fails (#20981) (#20981) - #20981
Resolve Operator fallback to method allocator if temp alloc fails (#20981) (#20981)#20981rstehle wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20981
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit aa59c9b with merge base d632341 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@rstehle has exported this pull request. If you are a Meta employee, you can view the originating Diff in D109855815. |
This PR needs a
|
…torch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: Andrew-github-user, rascani Differential Revision: D109855815
2da43a9 to
186e3df
Compare
…torch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: Andrew-github-user, rascani Differential Revision: D109855815
186e3df to
67aa6c0
Compare
|
/easycla |
1 similar comment
|
/easycla |
|
@rstehle has imported this pull request. If you are a Meta employee, you can view this in D109855815. |
| // is not provided (or an empty one is provided), we | ||
| // fall back to the method allocator. | ||
| if (allocator == nullptr || allocator->size() == 0) { | ||
| if (allocator == nullptr || allocator->size() == 0 || allocator->size() < (sizeof(TensorMeta) * n_args) + (sizeof(executorch::aten::DimOrderType) * kTensorDimensionLimit * n_args)) { |
There was a problem hiding this comment.
this line will probably fail the lintrunner.
c42c51c to
80baee5
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
80baee5 to
62a92fb
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
62a92fb to
13f4cb2
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
13f4cb2 to
6006632
Compare
|
@pytorchbot rerun -f |
|
❌ 🤖 pytorchbot command failed: Try |
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
886ae56 to
6397c3a
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
6397c3a to
fe1c699
Compare
|
@pytorchbot merge |
|
Mergebot is not configured for this repository. Please use the merge button provided by GitHub. |
fe1c699 to
3b945c7
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
3b945c7 to
18bee5b
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
18bee5b to
aa34c12
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
68dc1c4 to
b36c074
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
95028f7 to
9de1d3d
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
9de1d3d to
0b30b5e
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
0b30b5e to
480a9e8
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
480a9e8 to
426c4c4
Compare
…torch#20981) (pytorch#20981) Summary: Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present. This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta. Reviewed By: rascani Differential Revision: D109855815 Pulled By: rstehle
426c4c4 to
aa59c9b
Compare
Summary:
Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present.
This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta.
Reviewed By: rascani
Differential Revision: D109855815
Pulled By: rstehle