https://rancher.com/ logo
Title
c

cuddly-motorcycle-31750

04/05/2023, 8:42 AM
Hi! I'm using Rancher Desktop 1.8.1 on M1 Mac and encountering the following error.
The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
The current Dockerfile goes like this:
FROM tensorflow/tensorflow:1.15.2 as warmup
RUN pip install tensorflow-serving-api==1.15.0
According to this site, the promising solution seems to be
You can compile a Tensorflow from the source that does not use the AVX instruction set. Or find an already compiled one on the internet.
Would anyone help edit the current Dockerfile so that it compiles a Tensorflow from the source that does not use the AVX instruction set OR use an already compiled one on the Internet?
c

calm-sugar-3169

04/05/2023, 4:50 PM
I don’t think this is an issue with Rancher Desktop however, this post might be a help to you.
c

cuddly-motorcycle-31750

04/06/2023, 1:29 AM
@calm-sugar-3169 Thanks so much! I'll look into this.