Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
cc2e093
feat: use llama.cpp server
sangjanai Mar 11, 2025
70caa83
Merge branch 'dev' of https://github.com/janhq/cortex.cpp into s/feat…
sangjanai Mar 17, 2025
0968abe
chore: cleanup
sangjanai Mar 17, 2025
668af84
Merge branch 'dev' of https://github.com/janhq/cortex.cpp into s/feat…
sangjanai Mar 17, 2025
219d460
feat: OAI
sangjanai Mar 18, 2025
bb5cc35
Merge branch 'dev' of https://github.com/janhq/cortex.cpp into s/feat…
sangjanai Mar 18, 2025
8c4ca06
fix: wait for child process up
sangjanai Mar 19, 2025
220a974
Merge branch 'dev' of https://github.com/janhq/cortex.cpp into s/feat…
sangjanai Mar 19, 2025
0f2fa6e
chore: cleanup
sangjanai Mar 19, 2025
6dd7f7c
chore: cleanup
sangjanai Mar 19, 2025
bc92732
chore: fix unit tests
sangjanai Mar 19, 2025
5a68356
Merge branch 's/feat/spawn-llama-cpp' of https://github.com/janhq/cor…
sangjanai Mar 19, 2025
7c4d964
chore: cleanup
sangjanai Mar 19, 2025
1e5beaf
chore: cleanup
sangjanai Mar 19, 2025
b7b772b
fix: unit tests
sangjanai Mar 19, 2025
7c66135
fix: e2e tests
sangjanai Mar 19, 2025
af28b07
Merge branch 's/feat/spawn-llama-cpp' of https://github.com/janhq/cor…
sangjanai Mar 19, 2025
4705a1b
chore: cleanup
sangjanai Mar 19, 2025
6454eca
fix: e2e tests
sangjanai Mar 19, 2025
efe5a08
fix: validation
sangjanai Mar 19, 2025
a2886d2
fix: change GH user agent
sangjanai Mar 19, 2025
cf1a2ca
chore: cleanup
sangjanai Mar 19, 2025
282aae3
chore: fix unit tests
sangjanai Mar 19, 2025
e3dfea3
fix: e2e tests
sangjanai Mar 19, 2025
7438f94
fix: validation
sangjanai Mar 19, 2025
bf16c81
fix: change GH user agent
sangjanai Mar 19, 2025
f7cb0ae
chore: windows patch
vansangpfiev Mar 20, 2025
886222d
fix: windows
vansangpfiev Mar 20, 2025
87b2aa4
chore: log
vansangpfiev Mar 20, 2025
6d0215d
Merge branch 'dev' of https://github.com/menloresearch/cortex.cpp int…
sangjanai Mar 21, 2025
f866d5f
fix: handle macos 12 variants
sangjanai Mar 21, 2025
3d0b847
Merge branch 's/feat/spawn-llama-cpp' of https://github.com/menlorese…
sangjanai Mar 21, 2025
18e958e
Merge branch 'dev' of https://github.com/menloresearch/cortex.cpp int…
sangjanai Mar 21, 2025
de0de94
chore: e2e tests
sangjanai Mar 21, 2025
b783b22
chore: major version macos
sangjanai Mar 21, 2025
7832a5a
fix: windows e2e tests
vansangpfiev Mar 21, 2025
86cc89c
Merge branch 's/feat/spawn-llama-cpp' of github.com:janhq/nitro into …
vansangpfiev Mar 21, 2025
1c1146f
fix: engine list
sangjanai Mar 21, 2025
7487304
fix: macos filter
sangjanai Mar 21, 2025
1e99861
chore: skips some tests for linux arm
sangjanai Mar 21, 2025
70adc6e
fix: terminate process windows
vansangpfiev Mar 24, 2025
9846ad8
chore: release CIs (#2171)
vansangpfiev Mar 24, 2025
aba833e
fix: remove v in the llama-engine wget
sangjanai Mar 24, 2025
b239378
fix: add start time for model
sangjanai Mar 24, 2025
ca2180c
Merge branch 'dev' of https://github.com/menloresearch/cortex.cpp int…
sangjanai Mar 27, 2025
8ce2ac6
Merge branch 'dev' into s/feat/spawn-llama-cpp
vansangpfiev Apr 2, 2025
5f36501
chore: quality gate
sangjanai Apr 2, 2025
300f368
Merge branch 'dev' into s/feat/spawn-llama-cpp
vansangpfiev Apr 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .github/patches/windows/msvcp140.dll
Binary file not shown.
Binary file modified .github/patches/windows/vcruntime140.dll
Binary file not shown.
Binary file modified .github/patches/windows/vcruntime140_1.dll
Binary file not shown.
20 changes: 10 additions & 10 deletions .github/workflows/beta-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
get-update-version:
uses: ./.github/workflows/template-get-update-version.yml

get-cortex-llamacpp-latest-version:
get-llamacpp-latest-version:
uses: ./.github/workflows/template-cortex-llamacpp-latest-version.yml

create-draft-release:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:

build-macos:
uses: ./.github/workflows/template-build-macos.yml
needs: [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
needs: [get-update-version, create-draft-release, get-llamacpp-latest-version]
secrets: inherit
with:
ref: ${{ github.ref }}
Expand All @@ -48,12 +48,12 @@ jobs:
cmake-flags: "-DCORTEX_VARIANT=beta -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: beta
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}

build-windows-x64:
uses: ./.github/workflows/template-build-windows-x64.yml
secrets: inherit
needs: [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
needs: [get-update-version, create-draft-release, get-llamacpp-latest-version]
with:
ref: ${{ github.ref }}
public_provider: github
Expand All @@ -64,12 +64,12 @@ jobs:
ccache-dir: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
channel: beta
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}

build-linux-x64:
uses: ./.github/workflows/template-build-linux.yml
secrets: inherit
needs: [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
needs: [get-update-version, create-draft-release, get-llamacpp-latest-version]
with:
ref: ${{ github.ref }}
public_provider: github
Expand All @@ -78,13 +78,13 @@ jobs:
cmake-flags: "-DCORTEX_VARIANT=beta -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: beta
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
arch: amd64

build-linux-arm64:
uses: ./.github/workflows/template-build-linux.yml
secrets: inherit
needs: [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
needs: [get-update-version, create-draft-release, get-llamacpp-latest-version]
with:
ref: ${{ github.ref }}
public_provider: github
Expand All @@ -93,13 +93,13 @@ jobs:
cmake-flags: "-DCORTEX_VARIANT=beta -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: beta
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
arch: arm64

build-docker-x64:
uses: ./.github/workflows/template-build-docker-x64.yml
secrets: inherit
needs: [get-update-version, get-cortex-llamacpp-latest-version]
needs: [get-update-version, get-llamacpp-latest-version]
with:
ref: ${{ github.ref }}
new_version: ${{ needs.get-update-version.outputs.new_version }}
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,25 @@ jobs:
get-update-version:
uses: ./.github/workflows/template-get-update-version.yml

get-cortex-llamacpp-latest-version:
get-llamacpp-latest-version:
uses: ./.github/workflows/template-cortex-llamacpp-latest-version.yml

build-macos:
uses: ./.github/workflows/template-build-macos.yml
needs: [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
needs: [get-update-version, set-public-provider, get-llamacpp-latest-version]
secrets: inherit
with:
ref: ${{ needs.set-public-provider.outputs.ref }}
public_provider: ${{ needs.set-public-provider.outputs.public_provider }}
new_version: ${{ needs.get-update-version.outputs.new_version }}
cmake-flags: "-DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: nightly
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}

build-windows-x64:
uses: ./.github/workflows/template-build-windows-x64.yml
secrets: inherit
needs: [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
needs: [get-update-version, set-public-provider, get-llamacpp-latest-version]
with:
ref: ${{ needs.set-public-provider.outputs.ref }}
public_provider: ${{ needs.set-public-provider.outputs.public_provider }}
Expand All @@ -71,40 +71,40 @@ jobs:
build-deps-cmake-flags: "-DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -GNinja"
ccache-dir: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
channel: nightly
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}

build-linux-x64:
uses: ./.github/workflows/template-build-linux.yml
secrets: inherit
needs: [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
needs: [get-update-version, set-public-provider, get-llamacpp-latest-version]
with:
ref: ${{ needs.set-public-provider.outputs.ref }}
public_provider: ${{ needs.set-public-provider.outputs.public_provider }}
new_version: ${{ needs.get-update-version.outputs.new_version }}
runs-on: ubuntu-20-04
cmake-flags: "-DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: nightly
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
arch: amd64

build-linux-arm64:
uses: ./.github/workflows/template-build-linux.yml
secrets: inherit
needs: [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
needs: [get-update-version, set-public-provider, get-llamacpp-latest-version]
with:
ref: ${{ needs.set-public-provider.outputs.ref }}
public_provider: ${{ needs.set-public-provider.outputs.public_provider }}
new_version: ${{ needs.get-update-version.outputs.new_version }}
runs-on: ubuntu-2004-arm64
cmake-flags: "-DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: nightly
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
arch: arm64

update-latest-version:
runs-on: ubuntu-latest
if: needs.set-public-provider.outputs.public_provider == 'aws-s3'
needs: [get-update-version, set-public-provider, build-linux-x64, build-linux-arm64, build-macos, build-windows-x64, get-cortex-llamacpp-latest-version]
needs: [get-update-version, set-public-provider, build-linux-x64, build-linux-arm64, build-macos, build-windows-x64, get-llamacpp-latest-version]
steps:
- name: Update latest version
id: update-latest-version
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
if: needs.set-public-provider.outputs.public_provider == 'aws-s3'
uses: ./.github/workflows/template-build-docker-x64.yml
secrets: inherit
needs: [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version, update-latest-version]
needs: [get-update-version, set-public-provider, get-llamacpp-latest-version, update-latest-version]
with:
ref: ${{ needs.set-public-provider.outputs.ref }}
new_version: nightly-${{ needs.get-update-version.outputs.new_version }}
Expand All @@ -141,7 +141,7 @@ jobs:
tags: menloltd/cortex:nightly-${{ needs.get-update-version.outputs.new_version }}

noti-discord-nightly-and-update-url-readme:
needs: [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex-llamacpp-latest-version, update-latest-version, build-docker-x64]
needs: [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-llamacpp-latest-version, update-latest-version, build-docker-x64]
secrets: inherit
if: github.event_name == 'schedule'
uses: ./.github/workflows/template-noti-discord.yaml
Expand All @@ -150,7 +150,7 @@ jobs:
new_version: ${{ needs.get-update-version.outputs.new_version }}

noti-discord-manual:
needs: [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex-llamacpp-latest-version, build-docker-x64]
needs: [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-llamacpp-latest-version, build-docker-x64]
secrets: inherit
if: github.event_name == 'workflow_dispatch' && github.event.inputs.public_provider == 'aws-s3'
uses: ./.github/workflows/template-noti-discord.yaml
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/stable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
get-update-version:
uses: ./.github/workflows/template-get-update-version.yml

get-cortex-llamacpp-latest-version:
get-llamacpp-latest-version:
uses: ./.github/workflows/template-cortex-llamacpp-latest-version.yml

create-draft-release:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:

build-macos:
uses: ./.github/workflows/template-build-macos.yml
needs: [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
needs: [get-update-version, create-draft-release, get-llamacpp-latest-version]
secrets: inherit
with:
ref: ${{ github.ref }}
Expand All @@ -48,12 +48,12 @@ jobs:
cmake-flags: "-DCORTEX_VARIANT=prod -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: stable
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}

build-windows-x64:
uses: ./.github/workflows/template-build-windows-x64.yml
secrets: inherit
needs: [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
needs: [get-update-version, create-draft-release, get-llamacpp-latest-version]
with:
ref: ${{ github.ref }}
public_provider: github
Expand All @@ -64,12 +64,12 @@ jobs:
ccache-dir: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
channel: stable
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}

build-linux-x64:
uses: ./.github/workflows/template-build-linux.yml
secrets: inherit
needs: [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
needs: [get-update-version, create-draft-release, get-llamacpp-latest-version]
with:
ref: ${{ github.ref }}
public_provider: github
Expand All @@ -78,13 +78,13 @@ jobs:
cmake-flags: "-DCORTEX_VARIANT=prod -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: stable
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
arch: amd64

build-linux-arm64:
uses: ./.github/workflows/template-build-linux.yml
secrets: inherit
needs: [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
needs: [get-update-version, create-draft-release, get-llamacpp-latest-version]
with:
ref: ${{ github.ref }}
public_provider: github
Expand All @@ -93,13 +93,13 @@ jobs:
cmake-flags: "-DCORTEX_VARIANT=prod -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
channel: stable
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
cortex-llamacpp-version: ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
llamacpp-version: ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
arch: arm64

build-docker-x64:
uses: ./.github/workflows/template-build-docker-x64.yml
secrets: inherit
needs: [get-update-version, get-cortex-llamacpp-latest-version]
needs: [get-update-version, get-llamacpp-latest-version]
with:
ref: ${{ github.ref }}
new_version: ${{ needs.get-update-version.outputs.new_version }}
Expand Down
Loading
Loading