vllm.model_executor.models.qwen3_5
¶
Inference-only Qwen3.5 Series compatible with HuggingFace weights.
Classes:
Qwen3_5ForConditionalGeneration
¶
Bases: Qwen3VLForConditionalGeneration, IsHybrid, SupportsReplaySSM
Methods:
-
forward–Run forward pass for Qwen3.5.
forward(input_ids, positions, intermediate_tensors=None, inputs_embeds=None, **kwargs)
¶
Run forward pass for Qwen3.5.
Parameters:
-
(input_ids¶Tensor) –Flattened (concatenated) input_ids corresponding to a batch.
-
(positions¶Tensor) –Flattened (concatenated) position ids corresponding to a batch. NOTE: If mrope is enabled (default setting for Qwen3VL opensource models), the shape will be
(3, seq_len), otherwise it will be(seq_len,). -
(intermediate_tensors¶IntermediateTensors | None, default:None) –Intermediate tensors from previous pipeline stages.
-
(inputs_embeds¶Tensor | None, default:None) –Pre-computed input embeddings.
-
(**kwargs¶object, default:{}) –Additional keyword arguments including: - pixel_values: Pixel values to be fed to a model.
Noneif no images are passed. - image_grid_thw: Tensor(n_images, 3)of image 3D grid in LLM.Noneif no images are passed. - pixel_values_videos: Pixel values of videos to be fed to a model.Noneif no videos are passed. - video_grid_thw: Tensor(n_videos, 3)of video 3D grid in LLM.Noneif no videos are passed.