Voice et bot modif

This commit is contained in:
pi 2026-06-16 17:09:34 +00:00
parent 189d56026b
commit 7333a22bcd
10774 changed files with 634644 additions and 933308 deletions

View file

@ -871,7 +871,14 @@ else:
del _mac_os_check
def blas_fpe_check():
# Check if BLAS adds spurious FPEs, mostly seen on M4 arms with Accelerate.
if sys.platform != "darwin":
# We currently assume this is limited to MacOS as downstream NumPy
# import during dlopen caused a deadlock regression: gh-31284
return
# Check if BLAS adds spurious FPEs, seen on M4 arms with Accelerate.
# In this case we disable FPE reporting since the use of SME poisons
# it and Accelerate doesn't sanitize them.
with errstate(all='raise'):
x = ones((20, 20))
try: