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

ENH: include openai-whisper into thirdparty #2232

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

qinxuye
Copy link
Contributor

@qinxuye qinxuye commented Sep 5, 2024

openai-whisper requires triton<3 but torch 2.4 requires triton>=3, we have to use torch 2.4 because we need to support all vllm and sglang versions, and in the docker it's already torch 2.4, so the openai-whisper which didn't limit triton version will be found which is a quite old version. The cosyvoice model will fail, actually we introduced openai-whipser for cosyvoice.

Actually openai-whisper can run on triton>=3 but looks like the openai did not want to update it any more, see openai/whisper#2307

Besides this PR uses nvidia-ml-py to replace pynvml.

Fixes #2195

@XprobeBot XprobeBot added the enhancement New feature or request label Sep 5, 2024
@XprobeBot XprobeBot added this to the v0.15 milestone Sep 5, 2024
Copy link
Contributor

@codingl2k1 codingl2k1 left a comment

Choose a reason for hiding this comment

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

LGTM

MANIFEST.in Outdated Show resolved Hide resolved
Co-authored-by: codingl2k1 <138426806+codingl2k1@users.noreply.github.com>
@qinxuye qinxuye merged commit 85716b5 into xorbitsai:main Sep 6, 2024
12 of 13 checks passed
@qinxuye qinxuye deleted the enh/whisper branch September 6, 2024 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Couldn't load fish speech
3 participants