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

Reduce side effects of unused python extensions #110

Conversation

sunxilin
Copy link
Contributor

Delay python dependencies being imported until the python extension is instantiated by 'on_create_instance'

@sunxilin sunxilin changed the title reduce side effects of unused python extensions Reduce side effects of unused python extensions Jul 23, 2024
@wangyoucao577 wangyoucao577 changed the base branch from python-experimental-databuf to python-experimental-develop July 24, 2024 14:51
@wangyoucao577 wangyoucao577 merged commit 7f7da14 into TEN-framework:python-experimental-develop Jul 24, 2024
plutoless added a commit that referenced this pull request Jul 26, 2024
* feat: remove golang

* feat: empty openai_chatgpt_python and python app

* feat: workaround for drop pcm frame

* fix: rte_proxy release

* fix: stop on wait

* feat: repath

* fix: remove proxy

* Feature/python expermential (#92)

* feat: add interrupt detector python extension

* feat(): add chat transcriber python extension

* feat(): add elevenlabs tts python extension

* chore(): modify comment

* chore(): modify log

* fix: agora_rtc

* Feature/python expermential (#93)

* feat: initial migration for openai

* feat: openai working initially

* fix: tts task not execute

* fix: prevent thread blocking in on_data

* fix: tts not stop

* fix: api

* feat: add interrupter

* feat: add logs to openai ext

* fix: sync manifest

* feat: add --manifest

* tmp: tmp cmd test

* Feature/python expermential (#97)

* init cosy tts and qwen llm

* add flush and async

* fix flush

* revert change on inerrupt

* feat: default to gchr.io image

* fix: fix interrupt crash

* fix: fix cosy

* feat: cn manifest example

* feat: support python manifest file

* feat: update docker build file

* fix: add files to package.sh

* fix: add jq in builder env

* fix: readme updates

* fix: fix readme

* enhancement: builder image update

* fix: package

* fix: readme & builder pack

* feat: enhance cosy & qwen extensions

* fix cosy interrupt and safe exit (#100)

* feat: support qwen as cn default in gateway server. readme update

* update cn default exmaple

* update readme

* fix

* fix

* tmp remove greetings from openai block

* fix: fix outdateTs issue

* Dev/fix cosy bug (#105) (#106)

* fix cosy interrupt and safe exit

* fix init

Co-authored-by: tomasliu <[email protected]>

* feat: use buf for data stream

* fix: invalid argument

* feat: add chat_transcriber in graph

* feat: support json dump for chat transcriber

* fix: fix cosy_tts websocket closed issue

* feat: lock rtc ext version

* bedrock_llm_extension: add support for Amazon Bedrock Foundation Models (#111)

Co-authored-by: Chen188 <hidden>

* reduce side effects of unused python extensions (#110)

Co-authored-by: sunxilin <[email protected]>

* Revert "feat: remove golang"

This reverts commit af777ff.

* fix: build with 0.3 runtime

* fix: upgrade runtime dependencies

* fix: compatible with 0.3.x runtime api

* chore: add clean

* feat: remove python start

* chore: also clean bin folder

* feat: upgrade dependencies

* chore: add vscode settings

* chore: remove useless deps

* chore: typo

* chore: log level

* feat: start by worker

* fix: chat transcriber

* fix: package

* fix: default examples

* feat: only main updates latest image

* test: build image

* feat: workaround to avoid too many warning logs

---------

Co-authored-by: sunshinexcode <[email protected]>
Co-authored-by: Zhang Qianze <[email protected]>
Co-authored-by: tomasliu <[email protected]>
Co-authored-by: Ethan Zhang <[email protected]>
Co-authored-by: Bin Chen <[email protected]>
Co-authored-by: xxxxl_sun <[email protected]>
Co-authored-by: sunxilin <[email protected]>
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.

2 participants