Skip to content

Commit

Permalink
Revert Windows wasn_nn plugin URLs to v0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joulei committed Jan 15, 2025
1 parent 270de1d commit 877539d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions moly-runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,24 +159,24 @@ fn wasmedge_wasi_nn_plugin_url() -> (&'static str, &'static str) {
// Currently, WasmEdge's b3499 release only provides a CUDA 12 build for Windows.
if matches!(get_cuda_version(), Some(CudaVersion::V12)) {
return (
"https://github.com/second-state/WASI-NN-GGML-PLUGIN-REGISTRY/releases/download/b3499/WasmEdge-plugin-wasi_nn-ggml-cuda-0.14.1-windows_x86_64.zip",
"WasmEdge-plugin-wasi_nn-ggml-cuda-0.14.1-windows_x86_64",
"https://github.com/second-state/WASI-NN-GGML-PLUGIN-REGISTRY/releases/download/b3499/WasmEdge-plugin-wasi_nn-ggml-cuda-0.14.0-windows_x86_64.zip",
"WasmEdge-plugin-wasi_nn-ggml-cuda-0.14.0-windows_x86_64",
);
}

#[cfg(target_arch = "x86_64")]
if is_x86_feature_detected!("avx512f") {
return (
"https://github.com/second-state/WASI-NN-GGML-PLUGIN-REGISTRY/releases/download/b3499/WasmEdge-plugin-wasi_nn-ggml-0.14.1-windows_x86_64.zip",
"WasmEdge-plugin-wasi_nn-ggml-0.14.1-windows_x86_64",
"https://github.com/second-state/WASI-NN-GGML-PLUGIN-REGISTRY/releases/download/b3499/WasmEdge-plugin-wasi_nn-ggml-0.14.0-windows_x86_64.zip",
"WasmEdge-plugin-wasi_nn-ggml-0.14.0-windows_x86_64",
);
}

// Currently, the only other option is the no-AVX build, which still requires SSE4.2 or SSE4a.
// When WasmEdge releases additional builds, we can add them here.
(
"https://github.com/second-state/WASI-NN-GGML-PLUGIN-REGISTRY/releases/download/b3499/WasmEdge-plugin-wasi_nn-ggml-noavx-0.14.1-windows_x86_64.zip",
"WasmEdge-plugin-wasi_nn-ggml-noavx-0.14.1-windows_x86_64",
"https://github.com/second-state/WASI-NN-GGML-PLUGIN-REGISTRY/releases/download/b3499/WasmEdge-plugin-wasi_nn-ggml-noavx-0.14.0-windows_x86_64.zip",
"WasmEdge-plugin-wasi_nn-ggml-noavx-0.14.0-windows_x86_64",
)
}

Expand Down

0 comments on commit 877539d

Please sign in to comment.