Skip to content

Conversation

@Cyrilvallez
Copy link
Member

What does this PR do?

As per the title. Otherwise forward pass fail with errors such as [rank2]: RuntimeError: expected mat1 and mat2 to have the same dtype, but got: c10::BFloat16 != c10::Half

@github-actions github-actions bot marked this pull request as draft March 12, 2025 16:54
@github-actions
Copy link
Contributor

Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. When it is ready for review, please click the Ready for review button (at the bottom of the PR page).

@Cyrilvallez Cyrilvallez marked this pull request as ready for review March 12, 2025 16:54
@HuggingFaceDocBuilderDev

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.

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

MB this was indeed forgotten 😉

@Cyrilvallez Cyrilvallez merged commit 32c95bd into main Mar 13, 2025
24 checks passed
@Cyrilvallez Cyrilvallez deleted the fix-tp-dtype branch March 13, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants