Skip to content

Add a default image prefiller implementation #13310

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

larryliu0820
Copy link
Contributor

@larryliu0820 larryliu0820 commented Aug 12, 2025

Summary: As titled. I need to create an interface IModule for Module class to override, to make it test-able.

Differential Revision: D80063769

cc @mergennachin @cccclai @helunwencser @jackzhxng

Copy link

pytorch-bot bot commented Aug 12, 2025

🔗 Helpful Links

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

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

❌ 28 New Failures, 1 Unrelated Failure

As of commit 6b1ff95 with merge base cf669e3 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

  • pull / test-binary-size-linux-gcc / linux-job (gh) (trunk failure)
    /pytorch/executorch/kernels/portable/cpu/op_stack.cpp:129:26: error: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Werror=sign-compare]

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

@meta-cla meta-cla 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 Aug 12, 2025
@facebook-github-bot
Copy link
Contributor

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

Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@larryliu0820 larryliu0820 added the module: llm Issues related to LLM examples and apps, and to the extensions/llm/ code label Aug 12, 2025
facebook-github-bot pushed a commit that referenced this pull request Aug 12, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

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

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

* LICENSE file in the root directory of this source tree.
*/

// Given a image tensor, prefill the KV cache of LLaVA.
Copy link
Contributor

@jackzhxng jackzhxng Aug 12, 2025

Choose a reason for hiding this comment

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

Remove LLaVA

facebook-github-bot pushed a commit that referenced this pull request Aug 14, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 14, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 15, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 15, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 15, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

Reviewed By: jackzhxng

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 15, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

Reviewed By: jackzhxng

Differential Revision: D80063769
larryliu0820 added a commit that referenced this pull request Aug 15, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

Reviewed By: jackzhxng

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

larryliu0820 added a commit that referenced this pull request Aug 15, 2025
Summary:
Pull Request resolved: #13310

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

Reviewed By: jackzhxng

Differential Revision: D80063769
facebook-github-bot pushed a commit that referenced this pull request Aug 16, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

Reviewed By: jackzhxng

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 16, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

Reviewed By: jackzhxng

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 16, 2025
Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

Reviewed By: jackzhxng

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

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

Summary:

As titled. I need to create an interface `IModule` for `Module` class to override, to make it test-able.

Reviewed By: jackzhxng

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

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

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 module: llm Issues related to LLM examples and apps, and to the extensions/llm/ code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants