You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check the current competition logs for failures in any of the frameworks we have run. If a framework isn't in the competition logs but it should be, we need to add it. For each failure, we need to figure out whether it's our fault (install issues, bad framework code, etc), vs their fault (oom, timeout).
As for asarray being used for casts; we can use arr.astype(xp.uint64) for example.
That's also supported by the array API. Whoops, it isn't. asarray(arr, dtype=...) IS the canonical way to convert. Maybe we can override asarray for SciPy?
Scipy fails because it does not support the following
non-zero fill
asarray()/.where()/.eye() defers to numpy which fails when called on sparse matrix
scipy cant broadcast beyond 2D
scipy framework doesn't support converting from CustomTensor
TODOs
Framework related
Should we have scipy/pytorch fallback to dense for benchmarks with non-zero fill asarray issues
Scipy Framework needs to support converting from CustomTensor
Benchmark related
Centrality/Connected Components/Page Rank/Transitive Closure: we need to switch array() -> asarray() to be in accordance with the array API. Additionally, in many cases where we did use this it was mostly for setting types.
Floyd warshall: we generate a dense G which we isnt the right thing to do - G = np.full((n, n), np.inf, dtype=np.float64)
mcl: some were timeout/oom but a bunch of cases across frameworks could not support: array_api.finfo(matrix.dtype).eps
HOSVD 3D/4D uses .transpose() which isnt supported by the array API
CP-ALS 3D/4D/5D runs into COO linear-index overflow during input conversion
Finite Difference 1D / CG / Preconditioned CG / Jacobi-preconditioned CG / Simplex - there is a matmul dtype mismatch
Forward Euler / Backward Euler / Runge Kutta - The benchmark uses numpy instead of using a generic array api
Activity
JoelMathewC commentedon Oct 2, 2026
Error Analysis
CustomTensorto SciPy input conversion unsupportedlinalg.pinvnot supportedCustomTensorto SciPy input conversion unsupportedlinalg.svdnot supported.diagonal()not supported.eye()generates dense, leading to sparse dense concat.astypeis absent on Torch tensors; Netflix also affectedhameerabbasi commentedon Oct 2, 2026
As for asarray being used for casts; we can use
arr.astype(xp.uint64)for example.That's also supported by the array API. Whoops, it isn't.asarray(arr, dtype=...)IS the canonical way to convert. Maybe we can overrideasarrayfor SciPy?JoelMathewC commentedon Oct 2, 2026
Summary
Pytorch fails because it does not support the following
S[] += A[i,j] * A[i,k] * A[i,l] * A[j,k] * A[j,l] * A[k,l]. Because it leads to elementwise ops that it doesnt support.logical_{or,and,not} / linalg.pinv / != scalar / == scalar / linalg.svd / .diagonal() / .astype()Scipy fails because it does not support the following
asarray()/.where()/.eye()defers to numpy which fails when called on sparse matrixCustomTensorTODOs
Framework related
CustomTensorBenchmark related
Centrality/Connected Components/Page Rank/Transitive Closure: we need to switch array() -> asarray() to be in accordance with the array API. Additionally, in many cases where we did use this it was mostly for setting types.Floyd warshall: we generate a dense G which we isnt the right thing to do -G = np.full((n, n), np.inf, dtype=np.float64)mcl: some were timeout/oom but a bunch of cases across frameworks could not support:array_api.finfo(matrix.dtype).epsHOSVD 3D/4Duses.transpose()which isnt supported by the array APICP-ALS 3D/4D/5Druns into COO linear-index overflow during input conversionFinite Difference 1D / CG / Preconditioned CG / Jacobi-preconditioned CG / Simplex- there is a matmul dtype mismatchForward Euler / Backward Euler / Runge Kutta- The benchmark uses numpy instead of using a generic array apihameerabbasi commentedon Oct 2, 2026
See my edit to the comment above.
Also for 4, we could in theory use
xp.permute_dims.