Skip to content

Support fixed-length text inputs in the LLM runner - #25679

Open
Sebastian-Larsson wants to merge 1 commit into
pytorch:mainfrom
Sebastian-Larsson:Support_fixed-length_text_inputs_in_the_LLM_runner
Open

Sebastian-Larsson wants to merge 1 commit into
pytorch:mainfrom
Sebastian-Larsson:Support_fixed-length_text_inputs_in_the_LLM_runner

Conversation

@Sebastian-Larsson

@Sebastian-Larsson Sebastian-Larsson commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Pad inputs to the model's expected length, match its token type, and use the last real token to predict the next one.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @robell @rascani

Pad inputs to the model's expected length, match its token type,
and use the last real token to predict the next one.

Change-Id: Icb12880e7e10d4b62b79cd68966d6d774481b481
Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
@Sebastian-Larsson Sebastian-Larsson added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes labels Nov 24, 2026
@pytorch-bot

pytorch-bot Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 8 Pending, 2 Unclassified Failures

As of commit 9e5df82 with merge base 945838a (image):

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

  • MLX / test-mlx / test-mlx (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    RuntimeError: Command bash /Users/runner/work/_temp/exec_script failed with exit code 4
  • MLX / test-mlx-muse-glimmer-build / test-mlx-muse-glimmer-build (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    RuntimeError: Command bash /Users/runner/work/_temp/exec_script failed with exit code 1

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 Nov 24, 2026

This branch has not been deployed

No deployments
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. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant