Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

[wasi-nn] disable AMX instructions in OneDNN (#14073)

Rahula71048c44b31
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c5147fe125..f25e09ce81 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1063,6 +1063,9 @@ jobs:
# Run the tests!
- run: cargo test -p wasmtime-wasi-nn --features ${{ matrix.feature }}
+ env:
+ # Avoid AMX instructions. Details at https://github.com/uxlfoundation/oneDNN/issues/5689
+ ONEDNN_MAX_CPU_ISA: AVX10_1_512
# Test `wasmtime-wasi-tls` in its own job, as not all of its providers are
# compatible with all targets. The primary culprit is the OpenSSL dependency,