Text Generation
Transformers
Safetensors
PyTorch
English
Japanese
nemotron_h
nvidia
conversational
custom_code

Fix parser compatibility with vLLM >=0.17

#3
NVIDIA org
edited Apr 17

Fix parser compatibility with vLLM >=0.17 (NIM 2.0)

vLLM >=0.17 removed vllm.entrypoints.openai.protocol and split it into multiple modules.

This PR adds a minimal try/except ImportError fallback to support the new module structure.

  • No logic change
  • Fully backward compatible
  • ~12 lines change across 2 files
NVIDIA org

Minimal compatibility fix (~12 lines), no behavior change.

Tested on NIM 2.0 (vLLM 0.17.1):

  • import: PASS
  • parser registration: PASS
  • tool / reasoning parsing: PASS

Without this fix, the parser fails to load and silently falls back to built-in vLLM parsers.

vg1024 changed pull request status to open
suhara changed pull request status to merged

Sign up or log in to comment