[MacPorts] #63777: py*-tensorflow-metal throws errors on M1 running macOS 11
MacPorts
noreply at macports.org
Wed Nov 3 00:04:58 UTC 2021
#63777: py*-tensorflow-metal throws errors on M1 running macOS 11
-------------------------------------+-------------------------------------
Reporter: essandess | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: arm64 M1 tensorflow | Port: py-tensorflow-metal,
metal | py-tensorflow-macos
-------------------------------------+-------------------------------------
{{{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:
* https://developer.apple.com/forums/thread/691917
* https://stackoverflow.com/questions/69511915/getting-error-when-running-
python-code-on-tensorflow-metal-on-macbook-pro-m1
--
Ticket URL: <https://trac.macports.org/ticket/63777>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list