Video-Text-to-Text
Transformers
Safetensors
English
Chinese
moss_vl
feature-extraction
Realtime
Streaming
Video-Understanding
Image-Understanding
MOSS-VL
OpenMOSS
multimodal
video
vision-language
custom_code
Instructions to use OpenMOSS-Team/MOSS-VL-Realtime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMOSS-Team/MOSS-VL-Realtime with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenMOSS-Team/MOSS-VL-Realtime", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
fix: yield GIL in realtime idle wait — busy-wait starves co-resident threads
#2
by Joiin0392 - opened
The realtime loop's idle branch (<|silence|>, nothing pending) spins onwhile True: continue, monopolizing the CPython GIL. Every other thread in
the process is starved for as long as the session idles — e.g. an in-process
ASR decode inflates from ~150ms to 40-80s.
Measured (one busy-spin thread + SenseVoice decode in the same process):
584ms -> 42.6s (73x). Replacing the bare continue with a 20ms sleep poll
restores 132-152ms; input-detection latency stays negligible.
Platform-neutral: GIL behavior is identical on CUDA deployments — any
co-process embedding (ASR, TTS, metrics) is affected the same way.
already merged
CCCCyx changed pull request status to closed