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

Add initial Finetuning component #236

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

xwu99
Copy link

@xwu99 xwu99 commented Jun 24, 2024

Description

Add Finetuning microservice

Infra code: opea-project/GenAIInfra#122
Example code: opea-project/GenAIExamples#315

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 16 lines in your changes missing coverage. Please review.

Files Coverage Δ
comps/cores/mega/constants.py 98.11% <100.00%> (ø)
comps/cores/mega/gateway.py 26.48% <15.78%> (ø)

@xwu99 xwu99 changed the title Add Finetuning microservice for OPEA Add initial Finetuning component Jun 24, 2024
Spycsh and others added 10 commits June 24, 2024 08:25
* add asr/tts component for xeon and hpu

Signed-off-by: Spycsh <sihan.chen@intel.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix

* fix

* fix ffmpeg JSONDecode error on HPU

* add tests

* trigger

* try

* add gateway

* import

* add asr check

* fix

* lower max_token

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Spycsh <sihan.chen@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
* Fix asr microservice with Python run on SPR CPU

Signed-off-by: Chun Tao <chun.tao@intel.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add gitignore to ignore python cache files

Signed-off-by: Chun Tao <chun.tao@intel.com>

* no need to add gitignore

Signed-off-by: Chun Tao <chun.tao@intel.com>

* revert lines in asr.py

Signed-off-by: Chun Tao <chun.tao@intel.com>

---------

Signed-off-by: Chun Tao <chun.tao@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
* add gateway

Signed-off-by: Spycsh <sihan.chen@intel.com>

* Add web retriever comp

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add entry

* add persistent dir

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add correct delete

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update test_web_retrievers_langchain.sh

* Update test_web_retrievers_langchain.sh

* revert

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Spycsh <sihan.chen@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: chen, suyue <suyue.chen@intel.com>
Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
for more information, see https://pre-commit.ci

Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
for more information, see https://pre-commit.ci

Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
Signed-off-by: Wu, Xiaochang <xiaochang.wu@intel.com>
@hshen14
Copy link
Collaborator

hshen14 commented Jun 27, 2024

Please submit a RFC and suggest discussing with @ftian1. CC @lvliang-intel @lkk12014402

@xwu99
Copy link
Author

xwu99 commented Jul 1, 2024

Please submit a RFC and suggest discussing with @ftian1. CC @lvliang-intel @lkk12014402

@hshen14 Thanks. I will follow and draft a RFC.

@xwu99
Copy link
Author

xwu99 commented Jul 2, 2024

Drafting RFC #268

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.

None yet

4 participants