Skip to content

deprecate input_batch in model inputs - #1896

Merged
tianyu-l merged 1 commit into
mainfrom
pp_update
Oct 16, 2025
Merged

tianyu-l merged 1 commit into
mainfrom
pp_update

Conversation

@tianyu-l

Copy link
Copy Markdown
Contributor

Now that we are creating FlexAttention block masks outside the model, the input_batch field in model inputs is no longer needed.

This PR also renames extra_args to be extra_kwargs, as it's a dictionary of kwargs, technically.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 16, 2025
@tianyu-l
tianyu-l merged commit db82f8b into main Oct 16, 2025
@tianyu-l
tianyu-l deleted the pp_update branch October 16, 2025 06:09
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 13, 2026
Now that we are creating FlexAttention block masks outside the model,
the `input_batch` field in model inputs is no longer needed.

This PR also renames `extra_args` to be `extra_kwargs`, as it's a
dictionary of kwargs, technically.
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 25, 2026
Now that we are creating FlexAttention block masks outside the model,
the `input_batch` field in model inputs is no longer needed.

This PR also renames `extra_args` to be `extra_kwargs`, as it's a
dictionary of kwargs, technically.
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 Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants