envd icon indicating copy to clipboard operation
envd copied to clipboard

bug: MNIST example doesn't work on Apple Silicon MacOS

Open VoVAllen opened this issue 3 years ago • 3 comments

Description

The tensorflow binary requires AVX instruction by default, which is not available on Apple Silicon.

⬢ [envd]❯ python main.py
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
[1]    307 abort      python3 main.py

Related issue: https://github.com/tensorflow/tensorflow/issues/52972

VoVAllen avatar Sep 13 '22 08:09 VoVAllen

PyTorch works well without AVX. We may want to move examples to Torch and add warning for tensorflow users

VoVAllen avatar Sep 13 '22 08:09 VoVAllen

Agree.

kemingy avatar Sep 13 '22 08:09 kemingy

PyTorch works well without AVX. We may want to move examples to Torch and add warning for tensorflow users

pytorch rule all!

aseaday avatar Sep 13 '22 09:09 aseaday