Hallo everyone,
how can i get tensorflow federated installed on apple silicon (MPB M1 Max)?
Python3.9
python3.9 -m pip install tensorflow-macos==2.9.2 tensorflow-metal==0.6.0 tensorflow-federated==0.37.0
shows error
Collecting tensorflow-federated==0.37.0
Using cached tensorflow_federated-0.37.0-py2.py3-none-any.whl (903 kB)
ERROR: Could not find a version that satisfies the requirement tensorflow-compression==2.9.2 (from versions: none)
ERROR: No matching distribution found for tensorflow-compression==2.9.2
Python3.10
python3.10 -m pip install tensorflow-macos==2.10.0 tensorflow-metal==0.6.0 tensorflow-federated==0.37.0
shows error
Collecting tensorflow-macos==2.10.0
Using cached tensorflow_macos-2.10.0-cp310-cp310-macosx_12_0_arm64.whl (211.5 MB)
ERROR: Ignored the following versions that require a different python version: 0.34.0 Requires-Python ~=3.9.0; 0.36.0 Requires-Python ~=3.9.0
ERROR: Could not find a version that satisfies the requirement tensorflow~=2.10.0 (from tensorflow-federated) (from versions: none)
ERROR: No matching distribution found for tensorflow~=2.10.0
Would really like to use tensorflow-federated with apple silicon and pip, since the tensorflow and metal just works fine both for python3.9 and python3.10.
The major issue seams to me that there is no pre-compiled tensorflow-compression
package for apple silicon. Any suggestions on how to get tensorflwo-compression
work on apple silicon will really be appreciated. (Use tensorflow compression with tensorflow federated on apple silicon · Issue #154 · tensorflow/compression · GitHub)