Skip to content

Conversation

@per
Copy link
Collaborator

@per per commented Sep 12, 2024

The introduction of the PlatformMemoryAllocator in #5121 introduced a hard fault in arm_executor_runner when not supplying the temp_allocator in the MemoryManager, so add it to get tests running again.

Change-Id: I357244a15c1b1fdee567ad828e09e3607e43e2e7

The introduction of the PlatformMemoryAllocator in
pytorch#5121 introduced a hard fault
in arm_executor_runner when not supplying the temp_allocator in the
MemoryManager, so add it to get tests running again.

Signed-off-by: Per Åstrand <per.astrand@arm.com>
Change-Id: I357244a15c1b1fdee567ad828e09e3607e43e2e7
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 12, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5302

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 0c9d78b with merge base 623b7b6 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 12, 2024
@per per added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk labels Sep 12, 2024
@per per requested a review from digantdesai September 12, 2024 07:10

torch::executor::MemoryManager memory_manager(
&method_allocator, &planned_memory);
&method_allocator, &planned_memory, &temp_allocator);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manuelcandales shouldn't we fall back to using method allocator if null?

Copy link
Contributor

@digantdesai digantdesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stamping to unbreak CI

@facebook-github-bot
Copy link
Contributor

@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@digantdesai merged this pull request in c032194.

@per per deleted the temp_allocator_fix branch November 15, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants