-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Open
Labels
module: backendnon-standard backend supportnon-standard backend supportmodule: mpsRelated to Apple Metal Performance Shaders frameworkRelated to Apple Metal Performance Shaders frameworktriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🐛 Describe the bug
This issue tracks the failures in test_modules.py for the MPS backend.
-
BatchNorm1d/BatchNorm2d: fails due to unsupported float64 passed to MPS's batch_norm implementation with error:
TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead. -
These tests fail due to functional issues (mismatching elements):
- SELU
- Softplus
- PReLU
- ReLU6
- Threshold
I'll update this issue whenever each of the above failures get fixed.
These issues were discovered in the PR #95334
Versions
PyTorch version: 2.1.0a0+gite975f83
Is debug build: True
CMake version: version 3.26.3
Python version: 3.9.16 (main, Mar 8 2023, 04:29:24) [Clang 14.0.6 ] (64-bit runtime)
CPU:
Apple processor
cc @bdhirsh @kulinseth @albanD @malfet @DenisVieriu97 @abhudev
Metadata
Metadata
Assignees
Labels
module: backendnon-standard backend supportnon-standard backend supportmodule: mpsRelated to Apple Metal Performance Shaders frameworkRelated to Apple Metal Performance Shaders frameworktriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module