Voice et bot modif
This commit is contained in:
parent
189d56026b
commit
7333a22bcd
10774 changed files with 634644 additions and 933308 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue