Skip to content

[chore] update return type annotations for models. - #15089

Open
sayakpaul wants to merge 2 commits into
mainfrom
return-type-fix-models
Open

sayakpaul wants to merge 2 commits into
mainfrom
return-type-fix-models

Conversation

@sayakpaul

Copy link
Copy Markdown
Member

Remove inconsistency in the return types. We return a tuple of torch.Tensor. So, explicitly correct them.

@github-actions github-actions Bot added the size/L PR with diff > 200 LOC label Oct 20, 2026
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@sayakpaul
sayakpaul requested a review from DN6 October 20, 2026 16:17

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

models size/L PR with diff > 200 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants