1

i followed the instructions given by the official tf documentation, but i just cannot resolve the various problems encountered. Did anyone have the experience installing tff on m1 mac and can show me your overall process?

conda create -n federated python=3.8


conda activate federated

pip install --upgrade tensorflow_federated

everything seems to be fine according to the terminal output, however, after

import tensorflow_federated as tff

i got a RunTimeError:

RuntimeError: This version of jaxlib was built using AVX instructions, which your CPU and/or operating system do not support. You may be able work around this issue by building jaxlib from source.

how to resolve this?

王林韬
  • 11
  • 2

0 Answers0