chore: bump cortex-cpp v1.0.2-rc1
This commit is contained in:
parent
83edc1fbc7
commit
61f72e6775
@ -43,7 +43,7 @@ describe('LocalOAIEngine', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('should load model correctly', async () => {
|
it('should load model correctly', async () => {
|
||||||
const model: ModelFile = { engine: 'testProvider', file_path: 'path/to/model' } as any
|
const model: any = { engine: 'testProvider', file_path: 'path/to/model' } as any
|
||||||
const modelFolder = 'path/to'
|
const modelFolder = 'path/to'
|
||||||
const systemInfo = { os: 'testOS' }
|
const systemInfo = { os: 'testOS' }
|
||||||
const res = { error: null }
|
const res = { error: null }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
1.0.1
|
1.0.2-rc1
|
||||||
@ -22,6 +22,9 @@ call .\node_modules\.bin\download %DOWNLOAD_URL%-vulkan.tar.gz -e --strip 1 -o %
|
|||||||
call .\node_modules\.bin\download %CUDA_DOWNLOAD_URL%/cuda-12-0-windows-amd64.tar.gz -e --strip 1 -o %SHARED_PATH%
|
call .\node_modules\.bin\download %CUDA_DOWNLOAD_URL%/cuda-12-0-windows-amd64.tar.gz -e --strip 1 -o %SHARED_PATH%
|
||||||
call .\node_modules\.bin\download %CUDA_DOWNLOAD_URL%/cuda-11-7-windows-amd64.tar.gz -e --strip 1 -o %SHARED_PATH%
|
call .\node_modules\.bin\download %CUDA_DOWNLOAD_URL%/cuda-11-7-windows-amd64.tar.gz -e --strip 1 -o %SHARED_PATH%
|
||||||
|
|
||||||
|
move %BIN_PATH%\cortex-server-beta.exe %BIN_PATH%\cortex-server.exe
|
||||||
|
del %BIN_PATH%\cortex-beta.exe
|
||||||
|
del %BIN_PATH%\cortex.exe
|
||||||
|
|
||||||
@REM Loop through each folder and move DLLs (excluding engine.dll)
|
@REM Loop through each folder and move DLLs (excluding engine.dll)
|
||||||
for %%F in (%SUBFOLDERS%) do (
|
for %%F in (%SUBFOLDERS%) do (
|
||||||
|
|||||||
@ -11,7 +11,10 @@ OS_TYPE=$(uname)
|
|||||||
if [ "$OS_TYPE" == "Linux" ]; then
|
if [ "$OS_TYPE" == "Linux" ]; then
|
||||||
# Linux downloads
|
# Linux downloads
|
||||||
download "${CORTEX_RELEASE_URL}/v${CORTEX_VERSION}/cortex-${CORTEX_VERSION}-linux-amd64.tar.gz" -e --strip 1 -o "./bin"
|
download "${CORTEX_RELEASE_URL}/v${CORTEX_VERSION}/cortex-${CORTEX_VERSION}-linux-amd64.tar.gz" -e --strip 1 -o "./bin"
|
||||||
chmod +x "./bin/cortex"
|
mv ./bin/cortex-server-beta ./bin/cortex-server
|
||||||
|
rm -rf ./bin/cortex
|
||||||
|
rm -rf ./bin/cortex-beta
|
||||||
|
chmod +x "./bin/cortex-server"
|
||||||
|
|
||||||
# Download engines for Linux
|
# Download engines for Linux
|
||||||
download "${ENGINE_DOWNLOAD_URL}-linux-amd64-noavx.tar.gz" -e --strip 1 -o "./bin/noavx/engines/cortex.llamacpp" 1
|
download "${ENGINE_DOWNLOAD_URL}-linux-amd64-noavx.tar.gz" -e --strip 1 -o "./bin/noavx/engines/cortex.llamacpp" 1
|
||||||
@ -29,7 +32,10 @@ if [ "$OS_TYPE" == "Linux" ]; then
|
|||||||
elif [ "$OS_TYPE" == "Darwin" ]; then
|
elif [ "$OS_TYPE" == "Darwin" ]; then
|
||||||
# macOS downloads
|
# macOS downloads
|
||||||
download "${CORTEX_RELEASE_URL}/v${CORTEX_VERSION}/cortex-${CORTEX_VERSION}-mac-universal.tar.gz" -e --strip 1 -o "./bin" 1
|
download "${CORTEX_RELEASE_URL}/v${CORTEX_VERSION}/cortex-${CORTEX_VERSION}-mac-universal.tar.gz" -e --strip 1 -o "./bin" 1
|
||||||
chmod +x "./bin/cortex"
|
mv ./bin/cortex-server-beta ./bin/cortex-server
|
||||||
|
rm -rf ./bin/cortex
|
||||||
|
rm -rf ./bin/cortex-beta
|
||||||
|
chmod +x "./bin/cortex-server"
|
||||||
|
|
||||||
# Download engines for macOS
|
# Download engines for macOS
|
||||||
download "${ENGINE_DOWNLOAD_URL}-mac-arm64.tar.gz" -e --strip 1 -o ./bin/arm64/engines/cortex.llamacpp
|
download "${ENGINE_DOWNLOAD_URL}-mac-arm64.tar.gz" -e --strip 1 -o ./bin/arm64/engines/cortex.llamacpp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user