From d6b8682371269f4e2decdc74b6faf26f39ad6dcc Mon Sep 17 00:00:00 2001 From: Louis Le Date: Mon, 9 Sep 2024 13:51:16 +0700 Subject: [PATCH] chore: standardize cortex.cpp module name chore: bump cpu-instructions - 0.0.13 --- .github/workflows/nightly-integrate-cortex-cpp.yml | 4 ++-- extensions/inference-nitro-extension/package.json | 2 +- extensions/inference-nitro-extension/src/node/execute.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly-integrate-cortex-cpp.yml b/.github/workflows/nightly-integrate-cortex-cpp.yml index e0b48bc46f..8ddc40a118 100644 --- a/.github/workflows/nightly-integrate-cortex-cpp.yml +++ b/.github/workflows/nightly-integrate-cortex-cpp.yml @@ -51,13 +51,13 @@ jobs: latest_prerelease_asset_count=$(get_asset_count "$latest_prerelease_name") if [ "$current_version_name" = "$latest_prerelease_name" ]; then - echo "cortex cpp remote repo doesn't have update today, skip update cortex-cpp for today nightly build" + echo "cortex cpp remote repo doesn't have update today, skip update cortex.cpp for today nightly build" echo "::set-output name=pr_created::false" exit 0 fi if [ "$current_version_asset_count" != "$latest_prerelease_asset_count" ]; then - echo "Latest prerelease version has different number of assets, somethink went wrong, skip update cortex-cpp for today nightly build" + echo "Latest prerelease version has different number of assets, somethink went wrong, skip update cortex.cpp for today nightly build" echo "::set-output name=pr_created::false" exit 1 fi diff --git a/extensions/inference-nitro-extension/package.json b/extensions/inference-nitro-extension/package.json index cd451aa33b..1e3ea6d381 100644 --- a/extensions/inference-nitro-extension/package.json +++ b/extensions/inference-nitro-extension/package.json @@ -47,7 +47,7 @@ }, "dependencies": { "@janhq/core": "file:../../core", - "cpu-instructions": "^0.0.12", + "cpu-instructions": "^0.0.13", "decompress": "^4.2.1", "fetch-retry": "^5.0.6", "rxjs": "^7.8.1", diff --git a/extensions/inference-nitro-extension/src/node/execute.ts b/extensions/inference-nitro-extension/src/node/execute.ts index 3aca7a6ef0..595063ed48 100644 --- a/extensions/inference-nitro-extension/src/node/execute.ts +++ b/extensions/inference-nitro-extension/src/node/execute.ts @@ -42,7 +42,7 @@ const os = (): string => { } /** - * The cortex-cpp extension based on the current platform. + * The cortex.cpp extension based on the current platform. * @returns .exe if on Windows, otherwise an empty string. */ const extension = (): '.exe' | '' => {