Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tensor dtypes np.float32 for MPS devices #533

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sorenmacbeth
Copy link
Contributor

@sorenmacbeth sorenmacbeth commented Jan 15, 2025

numpy defaults to numpy.float64 sometimes when they should be numpy.float32

This caused training to fail on MPS devices but it works on my M1 with this change


📚 Documentation preview 📚: https://pytorch-tabular--533.org.readthedocs.build/en/533/

numpy defaults to numpy.float64 when they should be numpy.float32

This caused training to fail on MPS devices but it works on my M1 with
this.
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant