From 76c5c6f293a9c31273d33395f2d3dd4c11a3ba54 Mon Sep 17 00:00:00 2001 From: Maxwell Flitton Date: Fri, 29 Nov 2024 15:49:29 +0000 Subject: [PATCH] Force release (#58) --- .github/workflows/surrealml_deployment.yml | 9 +++++---- modules/core/build.rs | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/surrealml_deployment.yml b/.github/workflows/surrealml_deployment.yml index 5f03b05..e5ad1fd 100644 --- a/.github/workflows/surrealml_deployment.yml +++ b/.github/workflows/surrealml_deployment.yml @@ -60,10 +60,11 @@ jobs: with: toolchain: stable - # - name: update pip version - # run: | - # pip install requests - # python get_latest_version.py + - name: install the onnx library + run: | + pip install -r requirements.txt + # pip install requests + # python get_latest_version.py - name: Setup Rust cache uses: Swatinem/rust-cache@v2 diff --git a/modules/core/build.rs b/modules/core/build.rs index d56d35c..bd47ac3 100644 --- a/modules/core/build.rs +++ b/modules/core/build.rs @@ -50,6 +50,7 @@ fn unpack_onnx() -> std::io::Result<()> { let lib_path = build_dir.join(target_lib); let lib_path = lib_path.to_str().unwrap(); + println!("Debug: lib_path={}", lib_path); // put it next to the file of the embedding let destination = Path::new(target_lib);