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 optional dependencies and import error message #480

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

imClumsyPanda
Copy link
Contributor

@imClumsyPanda imClumsyPanda commented Jan 16, 2025

本PR已拆分非openai库和webui,拆分后分为webui(gradio, gradio-pdf),azure, argostranslate, deepl, tecentcloud, ollama, xinference,并相应增加all、offline、dev_all依赖组

@awwaawwa
Copy link
Contributor

@imClumsyPanda
Copy link
Contributor Author

@imClumsyPanda
Copy link
Contributor Author

@Byaidu @awwaawwa @hellofinch 已按照 #442 中讨论确定的方式进行修改,可选模式仅有 argos, azure, tencent 用于 ArgosTranslator, AzureTranslator, TencentTranslator 的实现,并增加 alldev_all 用于安装全部部署依赖和全部开发依赖。

@imClumsyPanda
Copy link
Contributor Author

已修复 #475 合并后发生的依赖文件更改冲突问题

@Byaidu
Copy link
Owner

Byaidu commented Jan 21, 2025

azure那个几乎不占体积,还是不拆比较好

另外tencent有个tmt的小包,可以减掉大部分体积

argos这个直接删掉比较好,感觉没人用吧

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.

3 participants