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 
<composer...@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 <aurelien9.bertr...@gmail.com>
发送时间: 2025年4月3日 17:56
收件人: dev@wayang.apache.org <dev@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
  

Reply via email to