cbd1f08a3ec0f9587ee17f29c3233c36e327efef
When max_tokens >= max_model_len, vLLM engine rejects the request. Clamp to (max_model_len - prompt_tokens) in both to_sampling_params and to_beam_search_params so oversized max_tokens values degrade gracefully instead of returning HTTP 400. CCCL logical.cu pattern: handle boundary conditions (empty range, overflow) gracefully instead of hard-failing.
project_6
Description
Languages
C++
41.8%
Cuda
31.6%
Python
22.2%
C
2.1%
CMake
1.1%
Other
1.1%