Skip to content

Conversation

@rohansjoshi
Copy link
Contributor

Summary:
This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

Differential Revision: D79759817

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 7, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 1 Pending

As of commit 484a9f0 with merge base 6a875f9 (image):

NEW FAILURES - The following jobs have failed:

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

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

@github-actions
Copy link

github-actions bot commented Aug 7, 2025

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.

rohansjoshi added a commit to rohansjoshi/executorch that referenced this pull request Aug 7, 2025
Summary:

This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

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

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

Copy link
Collaborator

@shewu-quic shewu-quic left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for the efforts. It is really awesome 👍

Copy link
Contributor

@cccclai cccclai left a comment

Choose a reason for hiding this comment

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

Looks good to me, also stamp on behalf of qcom team

rohansjoshi added a commit to rohansjoshi/executorch that referenced this pull request Aug 8, 2025
Summary:

This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

Reviewed By: cccclai

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

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

rohansjoshi added a commit to rohansjoshi/executorch that referenced this pull request Aug 8, 2025
Summary:

This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

Reviewed By: cccclai

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

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

rohansjoshi added a commit to rohansjoshi/executorch that referenced this pull request Aug 9, 2025
Summary:

This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

Reviewed By: cccclai

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

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

rohansjoshi added a commit to rohansjoshi/executorch that referenced this pull request Aug 9, 2025
Summary:
Pull Request resolved: pytorch#13171

This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

Reviewed By: cccclai

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

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

rohansjoshi added a commit to rohansjoshi/executorch that referenced this pull request Aug 12, 2025
Summary:
Pull Request resolved: pytorch#13171

This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models with QNN backend inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

Reviewed By: cccclai

Differential Revision: D79759817
rohansjoshi added a commit to rohansjoshi/executorch that referenced this pull request Aug 19, 2025
Summary:

This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

Reviewed By: cccclai

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

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

Summary:

This PR makes the Runner for running Qualcomm LlamaModels implement the IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android app

Switched default eval mode to hybrid everywhere

Reviewed By: cccclai

Differential Revision: D79759817
Reviewed By: cccclai
@facebook-github-bot
Copy link
Contributor

@rohansjoshi has imported this pull request. If you are a Meta employee, you can view this in D79759817.

@facebook-github-bot
Copy link
Contributor

@rohansjoshi has imported this pull request. If you are a Meta employee, you can view this in D79759817.

@rohansjoshi rohansjoshi merged commit 53146a4 into pytorch:main Aug 20, 2025
103 of 106 checks passed
// A llama 3.2 runner that includes preprocessing and post processing
// logic. The module takes in a string as input and emits a string as output.

#include <executorch/examples/models/llama/runner/runner.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

why do you need this particular runner?

Copy link
Contributor Author

@rohansjoshi rohansjoshi Aug 20, 2025

Choose a reason for hiding this comment

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

I'm only using the function load_llama_tokenizer from executorch/examples/models/llama/runner/runner, not the runner there. I'm trying to reuse code from examples/models

agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
Summary:
This PR makes the Runner for running Qualcomm LlamaModels implement the
IRunner interface

Using this, enable running static Llama models inside LlamaDemo Android
app

Switched default eval mode to hybrid everywhere

Differential Revision: D79759817
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.

5 participants