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

Closed
wants to merge 10 commits into from
Closed

Conversation

xwu99
Copy link
Collaborator

@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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Wu, Xiaochang <[email protected]>
* Fix asr microservice with Python run on SPR CPU

Signed-off-by: Chun Tao <[email protected]>

* [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 <[email protected]>

* no need to add gitignore

Signed-off-by: Chun Tao <[email protected]>

* revert lines in asr.py

Signed-off-by: Chun Tao <[email protected]>

---------

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

Signed-off-by: Spycsh <[email protected]>

* 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 <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: chen, suyue <[email protected]>
Signed-off-by: Wu, Xiaochang <[email protected]>
Signed-off-by: Wu, Xiaochang <[email protected]>
Signed-off-by: Wu, Xiaochang <[email protected]>
Signed-off-by: Wu, Xiaochang <[email protected]>
Signed-off-by: Wu, Xiaochang <[email protected]>
@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
Collaborator 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
Collaborator Author

xwu99 commented Jul 2, 2024

Drafting RFC #268

@kevinintel kevinintel linked an issue Jul 30, 2024 that may be closed by this pull request
lkk12014402 pushed a commit that referenced this pull request Aug 8, 2024
@XinyuYe-Intel XinyuYe-Intel mentioned this pull request Aug 16, 2024
1 task
@kevinintel
Copy link
Collaborator

Fine tuning merged

@kevinintel kevinintel closed this Sep 9, 2024
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.

Fine-tuning: openai-compatible
5 participants