Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync dev to main v1.0.9-rc1 #1851

Merged
merged 20 commits into from
Jan 13, 2025
Merged

chore: sync dev to main v1.0.9-rc1 #1851

merged 20 commits into from
Jan 13, 2025

Conversation

vansangpfiev
Copy link
Contributor

@vansangpfiev vansangpfiev commented Jan 13, 2025

Describe Your Changes

This pull request includes several updates to the GitHub workflows to support new architectures and improve the build and packaging processes. The most important changes include adding support for ARM64 architecture, updating existing workflows to use a common template, and adding new workflows for building and packaging Python code and virtual environments.

Support for ARM64 Architecture:

Workflow Template Updates:

New Workflows for Python Code and Virtual Environments:

Quality Gate Workflow Updates:

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

namchuai and others added 20 commits December 23, 2024 11:23
Sync main to dev after release 1.0.6
* chore: remove services namespace

* chore: db: engines to service

* chore: db: file to service

* chore: db: hardware to service

* chore: db: models to service

---------

Co-authored-by: vansangpfiev <[email protected]>
* chore: add document

* feat: update engine interface

* chore: add document

* feat: update engine interface

* Feat: init python engine

* Fix: conflict

* feat: add python engine implementation

* Fix: CI build window

* Fix: CI build window

* feat: support download python model from cortexso

* feat: add inference interface

* feat: integrate to cortex cpp

* fix: remove pythone engine load engine option

* Feat: init environment interface

* feat: move virtual environment inside model

* Update CMakeLists.txt

* Update CMakeLists.txt

* fix: CI build

* fix: move log of python to cortex logs folder

* fix: unitest for remote engine because change location of template renderer

* fix: CI build windows

* fix: CI build windows

* feat: add depends model.yml for python engine

* fix: CI build

* update set permission api

* Fix: comment

* Fix: remove unnecessary interface

* Fix comment

* Fix: comment review

---------

Co-authored-by: James <[email protected]>
* chore: add document

* feat: update engine interface

* chore: add document

* feat: update engine interface

* Feat: init python engine

* Fix: conflict

* feat: add python engine implementation

* Fix: CI build window

* Fix: CI build window

* feat: support download python model from cortexso

* feat: add inference interface

* feat: integrate to cortex cpp

* fix: remove pythone engine load engine option

* Feat: init environment interface

* feat: move virtual environment inside model

* Update CMakeLists.txt

* Update CMakeLists.txt

* fix: CI build

* fix: move log of python to cortex logs folder

* fix: unitest for remote engine because change location of template renderer

* fix: CI build windows

* fix: CI build windows

* feat: add depends model.yml for python engine

* fix: CI build

* stream response

* update set permission api

* Fix: comment

* Feat: stream response

* fix: run concurrent request with stream mode

* Fix: remove unnecessary interface

* Fix comment

* Fix: comment review

* fix comment

* fix comment

---------

Co-authored-by: James <[email protected]>
* fix: download recursive

* fix: handle model not loaded

* fix: set permission for all venv folder

* format code
* fix: download recursive

* fix: handle model not loaded

* fix: set permission for all venv folder

* format code

* fix: cortex stop will stop all running models

* Fix: comment
* feat: add ci for python package

* feat: add ci for python package

* feat: add ci for python package

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test package unix

* test package mac arm

* test package using miniconda

* test package using miniconda

* test package using miniconda

* test package using miniconda

* test package using miniconda

* test package using miniconda

* test package using miniconda

* test package using miniconda

* test package using miniconda

* test package using miniconda

* test package using miniconda

* Add upload artifact linux

* feat: add codesign for macos

* Test CI window

* Test CI window

* Test CI window

* Test CI window

* test CI windows

* test CI windows

* test CI windows include hidden file

* test CI macos include hidden file

* test CI macos include hidden file

* test CI macos include hidden file

* chore: add package pipeline for 4 os

* chore: add package pipeline for 4 os change compression level

* chore: add package pipeline for 4 os optimize linux size

* chore: add package pipeline for 4 os optimize linux size and fix windows

* chore: add package pipeline fix windows

* Feat python package codesign (#1780)

* feat: add codesign for macos

* feat: add codesign for macos

* fix: notary python zipped folder

---------

Co-authored-by: Hien To <[email protected]>

* Update python-package.yml

* Update python-package.yml

* test: package fish speech

* test: package fish speech

* test: rerun windows

* feat: package env for ichigo-wrapper

* feat: package env for ichigo-wrapper

* feat: package env for ichigo-wrapper

* feat: package env for whispervq

* feat: package env for fish-speech

* feat: package env for fish-speech mac

* Fix: increase timeout for macos notarize

* Update python-package.yml

* Fix: upload venv to hf instead of github releas

* Update: test run new CI for package python

* Update: test run new CI for package python

* Update: test run new CI for package python

* Update: test run new CI for package python windows

* Update: test run new CI for package python windows

* Finished: venv package

* feat: init CI for upload python script to huggingface

* Finished CI for upload python scripts

---------

Co-authored-by: Hien To <[email protected]>
Co-authored-by: hiento09 <[email protected]>
* fix: build linux arm

* feat: cicd arm64

* fix: build linux arm

* feat: cicd arm64

* fix: e2e test linux arm64

* fix: select linux arm64

* chore: e2e tests

* fix: ci linux arm

* fix: ci correct artifact name

* fix: linux installer arm64

---------

Co-authored-by: Hien To <[email protected]>
Co-authored-by: sangjanai <[email protected]>
Co-authored-by: Service Account <[email protected]>
* chore: convention

* fix: correct get remote model list

* feat: auto generate remote model config

* feat: support update remote engine

* fix: do not generate remote model

* chore: change engine_name to engine

* fix: api key template on engine level

* fix: add type for local engine

* chore: cleanup

* fix: add remote engine to /v1/engines GET

* fix: build

* fix: load engine when start model

* chore: add log

* fix: ignore chat_completions in model

* fix: delete remote model

* fix: replace api_key_template by header_template

* fix: use engine from model yaml

* fix: better error handling in stream mode

* chore: cleanup

* chore: unit test for anthropic response

---------

Co-authored-by: vansangpfiev <[email protected]>
@vansangpfiev vansangpfiev changed the title chore: sync dev to main v1.0.9 rc1 chore: sync dev to main v1.0.9-rc1 Jan 13, 2025
@vansangpfiev vansangpfiev requested a review from hiento09 January 13, 2025 02:58
Copy link
Contributor

@hiento09 hiento09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

Preview URL: https://d16be957.cortex-docs.pages.dev

@vansangpfiev vansangpfiev merged commit 4ea1b6b into main Jan 13, 2025
8 checks passed
@vansangpfiev vansangpfiev deleted the chore/v1.0.9-rc1 branch January 13, 2025 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants