Skip to content

Commit

Permalink
Merge pull request #4374 from janhq/fix/could-not-load-model-on-some-…
Browse files Browse the repository at this point in the history
…intel-machines

fix: bump llama.cpp engine hotfix version to address model load issue on some MacOS Intel machines
  • Loading branch information
louis-jan authored Dec 31, 2024
2 parents a33563b + 8ccf02a commit e8aa977
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extensions/inference-cortex-extension/download.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set BIN_PATH=./bin
set SHARED_PATH=./../../electron/shared
set /p CORTEX_VERSION=<./bin/version.txt
set ENGINE_VERSION=0.1.42
set ENGINE_VERSION=0.1.42-hotfix

@REM Download cortex.llamacpp binaries
set DOWNLOAD_URL=https://github.com/janhq/cortex.llamacpp/releases/download/v%ENGINE_VERSION%/cortex.llamacpp-%ENGINE_VERSION%-windows-amd64
Expand Down
2 changes: 1 addition & 1 deletion extensions/inference-cortex-extension/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Read CORTEX_VERSION
CORTEX_VERSION=$(cat ./bin/version.txt)
ENGINE_VERSION=0.1.42
ENGINE_VERSION=0.1.42-hotfix
CORTEX_RELEASE_URL="https://github.com/janhq/cortex.cpp/releases/download"
ENGINE_DOWNLOAD_URL="https://github.com/janhq/cortex.llamacpp/releases/download/v${ENGINE_VERSION}/cortex.llamacpp-${ENGINE_VERSION}"
CUDA_DOWNLOAD_URL="https://github.com/janhq/cortex.llamacpp/releases/download/v${ENGINE_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion extensions/inference-cortex-extension/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default [
SETTINGS: JSON.stringify(defaultSettingJson),
CORTEX_API_URL: JSON.stringify('http://127.0.0.1:39291'),
CORTEX_SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'),
CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42'),
CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42-hotfix'),
}),
// Allow json resolution
json(),
Expand Down

0 comments on commit e8aa977

Please sign in to comment.