Hi Santiago,
On 2025-04-09 14:18, Santiago Vila wrote:
Not so fast!
Please take a look at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102472
The real solution might be in src:python3-torch, I was looking at
dropping the following lines:
#
https://stackoverflow.com/questions/65966969/why-does-march-native-not-work-on-apple-m1
# `-march=native` is unrecognized option on M1
if not config.is_fbcode():
if platform.machine() == "ppc64le":
cflags.append("mcpu=native")
else:
cflags.append("march=native")
from torch/_inductor/cpp_builder.py
Great catch. Fixing python3-torch might fix other reverse dependencies
as well. Thus it is better to get down to cause, not the symptom.
Best wishes,
Andrius