#63777 closed defect (fixed)
py*-tensorflow-metal throws errors on M1 running macOS 11
Reported by: | essandess (Steve Smith) | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | arm64 bigsur | Cc: | cjones051073 (Chris Jones) |
Port: | py-tensorflow-metal, py-tensorflow-macos |
Description
py*-tensorflow-metal
on macOS 11 M1 systems throws the error on basic model training (e.g. https://github.com/macports/macports-ports/pull/12678):
MPSGraph adamUpdateWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:]: unrecognized selector sent to instance
We should limit installation of py*-tensorflow-metal
and py*-tensorflow-macos
to macOS 12+ on arm64
devices, per official documentation at https://developer.apple.com/metal/tensorflow-plugin/.
In contrast, py*-tensorflow-metal
and py*-tensorflow-macos
on x86_64
devices appears work fine.
See:
Change History (4)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | bigsur added; M1 tensorflow metal removed |
---|
comment:2 Changed 3 years ago by essandess (Steve Smith)
comment:3 Changed 3 years ago by essandess (Steve Smith)
Owner: | set to essandess |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 3 years ago by essandess (Steve Smith)
Note: See
TracTickets for help on using
tickets.
Please see https://github.com/macports/macports-ports/pull/12778.