https://flyte.org logo
Title
j

James Evers

09/15/2022, 5:53 PM
hi everybody, has anybody running on a mac m1 managed to run the tensorflow cookbook example?
s

Shivay Lamba

09/15/2022, 6:19 PM
Hi James, thanks for your question, did you face any issues running the example?
k

Ketan (kumare3)

09/15/2022, 11:49 PM
@Shivay Lamba can you try running it locally on an M1 if you have one?
j

James Evers

09/16/2022, 3:42 PM
sorry for the late reply here, the issues are actually fairly minor. building the
Dockerfile
as-is works just fine, the only thing that users might need to be aware of is that they should have
tensorflow-macos
installed locally
scratch that -- there does appear to be a snag
running a workflow with the base image
tensorflow/tensorflow:latest-gpu
will result in:
The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
qemu: uncaught target signal 6 (Aborted) - core dumped
k

Ketan (kumare3)

09/16/2022, 9:50 PM
ohh ya, it needs to be built with ARM architecture
j

James Evers

09/16/2022, 9:51 PM
Should I pop open an issue for this one?
k

Ketan (kumare3)

09/16/2022, 11:15 PM
yes please
@James Evers
j

James Evers

09/19/2022, 7:55 PM