Skip to content

MPS missing erfc #155337

@malfet

Description

@malfet

I'm looking for 'aten::erfc.out' to use in Bayesian optimization library Botorch. I am on an M3 MAX with these dependencies in my poetry pyproject.toml:

torch = "^2.0.0"
botorch = "^0.9.0"
gpytorch = "^1.11.0"

The current error that I am falling back to CPU for:

NotImplementedError: The operator 'aten::erfc.out' is not currently implemented for the MPS device. If you want this op to be considered for addition please comment on #141287 and mention use-case, that resulted in missing op as well as commit hash 1341794. As a temporary fix, you can set the environment variable PYTORCH_ENABLE_MPS_FALLBACK=1 to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.

Originally posted by @MetaRossi in #141287

Which feels a bit arbitrary...

cc @kulinseth @albanD @DenisVieriu97 @jhavukainen

Metadata

Metadata

Assignees

Labels

enhancementNot as big of a feature, but technically not a bug. Should be easy to fixmodule: mpsRelated to Apple Metal Performance Shaders frameworktriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions