Skip to content

Conversation

@cccclai
Copy link
Contributor

@cccclai cccclai commented Nov 5, 2024

Summary:
The actual init function takes in backend init context instead of memory allocator directly. See

ET_NODISCARD virtual Result<DelegateHandle*> init(
BackendInitContext& context,
FreeableBuffer* processed,
ArrayRef<CompileSpec> compile_specs) const = 0;

Update the signature in the test so it's easier to add test for exposing method name in next diff

Differential Revision: D65499276

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 5, 2024

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit b79dcab with merge base 068f43c (image):

NEW FAILURES - The following jobs have 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 Nov 5, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65499276

@cccclai cccclai requested review from dbort and kimishpatel November 5, 2024 21:42
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 5, 2024
Summary:

The actual init function takes in backend init context instead of memory allocator directly. See https://github.com/pytorch/executorch/blob/836d5561a61877507b6d5891485725996bb6b32c/runtime/backend/interface.h#L81-L84

Update the signature in the test so it's easier to add test for exposing method name in next diff

Differential Revision: D65499276
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65499276

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 5, 2024
Summary:

The actual init function takes in backend init context instead of memory allocator directly. See https://github.com/pytorch/executorch/blob/836d5561a61877507b6d5891485725996bb6b32c/runtime/backend/interface.h#L81-L84

Update the signature in the test so it's easier to add test for exposing method name in next diff

Differential Revision: D65499276
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 6, 2024
Summary:

The actual init function takes in backend init context instead of memory allocator directly. See https://github.com/pytorch/executorch/blob/836d5561a61877507b6d5891485725996bb6b32c/runtime/backend/interface.h#L81-L84

Update the signature in the test so it's easier to add test for exposing method name in next diff

Reviewed By: dbort

Differential Revision: D65499276
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65499276

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 6, 2024
Summary:

The actual init function takes in backend init context instead of memory allocator directly. See https://github.com/pytorch/executorch/blob/836d5561a61877507b6d5891485725996bb6b32c/runtime/backend/interface.h#L81-L84

Update the signature in the test so it's easier to add test for exposing method name in next diff

Reviewed By: dbort

Differential Revision: D65499276
Copy link
Contributor

@iseeyuan iseeyuan left a comment

Choose a reason for hiding this comment

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

LGTM

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 6, 2024
Summary:

The actual init function takes in backend init context instead of memory allocator directly. See https://github.com/pytorch/executorch/blob/836d5561a61877507b6d5891485725996bb6b32c/runtime/backend/interface.h#L81-L84

Update the signature in the test so it's easier to add test for exposing method name in next diff

Reviewed By: iseeyuan, dbort

Differential Revision: D65499276
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65499276

cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 6, 2024
Summary:

The actual init function takes in backend init context instead of memory allocator directly. See https://github.com/pytorch/executorch/blob/836d5561a61877507b6d5891485725996bb6b32c/runtime/backend/interface.h#L81-L84

Update the signature in the test so it's easier to add test for exposing method name in next diff

Reviewed By: iseeyuan, dbort

Differential Revision: D65499276
Summary:

The actual init function takes in backend init context instead of memory allocator directly. See https://github.com/pytorch/executorch/blob/836d5561a61877507b6d5891485725996bb6b32c/runtime/backend/interface.h#L81-L84

Update the signature in the test so it's easier to add test for exposing method name in next diff

Reviewed By: iseeyuan, dbort

Differential Revision: D65499276
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65499276

@facebook-github-bot facebook-github-bot merged commit b4c6fe1 into pytorch:main Nov 6, 2024
38 of 41 checks passed
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 11, 2024
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 12, 2024
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 12, 2024
cccclai added a commit to cccclai/executorch-1 that referenced this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants