Skip to content

Commit

Permalink
wasi-nn: pull test artifacts from new location
Browse files Browse the repository at this point in the history
Over in the [openvino-rs] repository, we removed large test artifacts
that required Git LFS and moved these artifacts to a new download site,
[download.01.org]. This broke Wasmtime's CI and was fixed in bytecodealliance#9380 by
pinning to a commit version. This change adopts the [download.01.org]
site in Wasmtime's CI to fully cut the dependency to GitHub's LFS
bandwidth limits.

[openvino-rs]: https://github.com/intel/openvino-rs
[download.01.org]: https://download.01.org/openvinotoolkit/fixtures
  • Loading branch information
abrown committed Feb 5, 2025
1 parent 0a3aea3 commit 1e044b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/wasi-nn/tests/check/openvino.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ pub fn is_installed() -> Result<()> {
/// download the artifacts if necessary.
pub fn are_artifacts_available() -> Result<()> {
let _exclusively_retrieve_artifacts = DOWNLOAD_LOCK.lock().unwrap();
const BASE_URL: &str =
"https://github.com/intel/openvino-rs/raw/72d75601e9be394b3e8c7ff28313d66ef53ff358/crates/openvino/tests/fixtures/mobilenet";
const BASE_URL: &str = "https://download.01.org/openvinotoolkit/fixtures/mobilenet";
let artifacts_dir = artifacts_dir();
if !artifacts_dir.is_dir() {
fs::create_dir(&artifacts_dir)?;
Expand Down

0 comments on commit 1e044b7

Please sign in to comment.