You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wayang.apache.org by Liu Mingxi <co...@outlook.com> on 2025/04/03 10:31:23 UTC

回复: Tensorflow package compilation issue

Hello, Aurélien

Do you use a x86 jdk?
Tensorflow-java only works with arm jdk on apple chips.

Best,
Mingxi
________________________________
发件人: Aurélien Bertrand <au...@gmail.com>
发送时间: 2025年4月3日 17:56
收件人: dev@wayang.apache.org <de...@wayang.apache.org>
主题: Tensorflow package compilation issue

Hi all,

While trying to compile the TensorFlow package, I encountered the following
issue:
"The TensorFlow library was compiled to use AVX instructions, but these
aren't available on your machine."

I tried to install tensorflow-macos and tensorflow-cpu and even uninstalled
them, but I kept getting this error. Note that I have an M3 chip.

Does anyone know why I am getting this and how I can solve it?

Thank you in advance.

Best regards,
Aurélien

Re: 回复: Tensorflow package compilation issue

Posted by Zoi Kaoudi <zk...@yahoo.gr.INVALID>.
 Hi, 

Maybe if you have both versions of java x86 and arm try to uninstall the x86. I had other issues when having both versions installed. Now I have only for arm and everything works.

Best
--
Zoi
    Στις Πέμπτη 3 Απριλίου 2025 στις 12:31:50 μ.μ. CEST, ο χρήστης Liu Mingxi <co...@outlook.com> έγραψε:  
 
 Hello, Aurélien

Do you use a x86 jdk?
Tensorflow-java only works with arm jdk on apple chips.

Best,
Mingxi
________________________________
发件人: Aurélien Bertrand <au...@gmail.com>
发送时间: 2025年4月3日 17:56
收件人: dev@wayang.apache.org <de...@wayang.apache.org>
主题: Tensorflow package compilation issue

Hi all,

While trying to compile the TensorFlow package, I encountered the following
issue:
"The TensorFlow library was compiled to use AVX instructions, but these
aren't available on your machine."

I tried to install tensorflow-macos and tensorflow-cpu and even uninstalled
them, but I kept getting this error. Note that I have an M3 chip.

Does anyone know why I am getting this and how I can solve it?

Thank you in advance.

Best regards,
Aurélien