[Bugfix][Frontend] support webm with audioread fallback#18477
[Bugfix][Frontend] support webm with audioread fallback#18477cpwan wants to merge 1 commit intovllm-project:mainfrom
Conversation
c667ae0 to
8529fe5
Compare
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
|
Btw, i tried to make minimal change to the code, yet the code in the main branch falls short of the pre-commit check, such as the import sorting... |
|
@NickLucche does this look good to you? |
|
Let me tidy up a bit the git history |
Signed-off-by: cpwan <cpwan@connect.ust.hk>
There was a problem hiding this comment.
Thanks for taking action on the issue.
To be frank I am not familiar with audioread, but I see librosa already uses it as a fallback so maybe this doesn't even go into the requirements lists.
librosa uses soundfile and audioread for reading audio. As of v0.7, librosa uses soundfile by default, and falls back on audioread only when dealing with codecs unsupported by soundfile. For a list of codecs supported by soundfile, see the libsndfile documentation.
Also I am totally uneducated on potential security concerns in opening up to a matrioska format like webm (cc @russellb ).
Can we at least test for the sake of completeness sending some video/image in webm?
There was a problem hiding this comment.
this exception is way too generic
There was a problem hiding this comment.
we should write to a bytesio in memory buffer not a temp file. This may, among other things, trigger permissions issues on deployments.
There was a problem hiding this comment.
we should probably log debug/warning this path
|
Also worth to look into why librosa isn't falling back to audioread as reported in the docs, is it an optional dep or..? |
|
This pull request has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this pull request should remain open. Thank you! |
|
This pull request has merge conflicts that must be resolved before it can be |
|
This pull request has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this pull request should remain open. Thank you! |
|
This pull request has merge conflicts that must be resolved before it can be |
|
This pull request has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this pull request should remain open. Thank you! |
FIX #18385