The recipe pins local-inference-lab/Qwen3.8-Flash-Next-NVFP4, whose config carries text_config.max_position_embeddings 262144 with rope_type "default". That is where the 262144 comes from.
What follows is config validation only: vLLM 0.28.1rc1, ModelConfig construction with no weights loaded, run against RadixArk/Qwen3.8-Flash-Next-NVFP4 because it is identical to the pinned repo in the two fields that set this ceiling. It says nothing about whether a server comes up.
--max-model-len 1048576 on its own is refused:
Value error, User-specified max_model_len (1048576) is greater than the derived
max_model_len (max_position_embeddings=262144.0 or model_max_length=None in
model's config.json).
For rope_type "yarn" specifically, the ceiling becomes original_max_position_embeddings * factor. This passed the check:
--hf-overrides '{"text_config":{"rope_parameters":{"rope_type":"yarn","factor":4.0,"original_max_position_embeddings":262144}}}' \
--max-model-len 1048576
Using max model len 1048576, with VLLM_ALLOW_LONG_MAX_MODEL_LEN unset. With factor 2.0, 1048576 failed instead, naming a derived maximum of 524288.
A top-level rope_parameters override, not nested under text_config, lands on the outer config, which the length check never reads, so you get the identical error. Omitting original_max_position_embeddings raises KeyError: 'original_max_position_embeddings'. The override merges into the existing rope config rather than replacing it, so mrope_section, mrope_interleaved, partial_rotary_factor and rope_theta were preserved.
This is not only a validation knob, which is the part I would want to know before keeping it. Since mrope_section is present, get_rope builds MRotaryEmbedding with scaling_factor=4.0, and that routes _compute_inv_freq and _compute_cos_sin_cache to the YaRN versions. The frequency basis becomes the NTK-by-parts blend and the cos/sin cache is multiplied by 0.1*ln(4)+1 = 1.1386. Both apply at position 0 as much as at 900,000, and this checkpoint ships rope_type "default", so it was not trained on that basis. Requests well inside 262144 change too, with nothing in the log to say so. layer_types here is 36 linear_attention and 12 full_attention, and a rope factor reaches the 12.
VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 with no rope override also passed the check at 1048576. That leaves rope_type "default" and vLLM logs a warning about nan past the native window.
The gate after this one is memory, and it has its own message: To serve at least one request with the model's max seq len (1048576), (X GiB KV cache is needed, which is larger than the available KV cache memory (Y GiB). At the recipe’s gpu_memory_utilization: 0.7 and four times the length, that is the likely next stop.