vllm.assets.video
VideoAsset
dataclass
¶
Source code in vllm/assets/video.py
_NAME_TO_FILE
class-attribute
¶
_NAME_TO_FILE: dict[VideoAssetName, str] = {
"baby_reading": "sample_demo_1.mp4"
}
get_audio
¶
Read audio data from the video asset, used in Qwen2.5-Omni examples.
See also: examples/offline_inference/qwen2_5_omni/only_thinker.py
Source code in vllm/assets/video.py
download_video_asset
cached
¶
Download and open an image from huggingface repo: raushan-testing-hf/videos-test