Skip to content

Select tf32 API based on torch version#511

Merged
abdulfatir merged 1 commit into
mainfrom
tf32-torch-fix
Jun 17, 2026
Merged

Select tf32 API based on torch version#511
abdulfatir merged 1 commit into
mainfrom
tf32-torch-fix

Conversation

@abdulfatir

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes: torch changed the API to select the floating point precision fp32/tf32 and doesn't allow mixing the old and new APIs. This breaks out fit method on some torch/transformers combinations. See: https://docs.pytorch.org/docs/main/notes/cuda.html#tensorfloat-32-tf32-on-ampere-and-later-devices

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@abdulfatir abdulfatir merged commit 329826d into main Jun 17, 2026
9 checks passed
@abdulfatir abdulfatir deleted the tf32-torch-fix branch June 17, 2026 09:38
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.

2 participants