Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -1,7 +1,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
"""
|
||||
HyperCLOVAX V2 (32B Think Model) Implementation.
|
||||
"""HyperCLOVAX V2 (32B Think Model) Implementation.
|
||||
|
||||
This module contains the V2 architecture that uses Qwen2.5 Vision Transformer
|
||||
instead of CLIP/SigLIP used in V1.
|
||||
@@ -57,8 +56,7 @@ V2_VIDEO_TOKEN: str = "<|video_start|><|VIDEO_PAD|><|video_end|>"
|
||||
|
||||
|
||||
class HCXVisionV2ImagePixelInputs(TensorSchema):
|
||||
"""
|
||||
V2 Image inputs using Qwen2.5-VL style grid_thw format.
|
||||
"""V2 Image inputs using Qwen2.5-VL style grid_thw format.
|
||||
|
||||
Dimensions:
|
||||
- np: Number of patches
|
||||
@@ -72,8 +70,7 @@ class HCXVisionV2ImagePixelInputs(TensorSchema):
|
||||
|
||||
|
||||
class HCXVisionV2ImageEmbeddingInputs(TensorSchema):
|
||||
"""
|
||||
V2 Image embedding inputs.
|
||||
"""V2 Image embedding inputs.
|
||||
|
||||
Dimensions:
|
||||
- nf: Number of image features
|
||||
@@ -90,8 +87,7 @@ HCXVisionV2ImageInputs = HCXVisionV2ImagePixelInputs | HCXVisionV2ImageEmbedding
|
||||
|
||||
|
||||
class HCXVisionV2VideoPixelInputs(TensorSchema):
|
||||
"""
|
||||
V2 Video inputs using Qwen2.5-VL style grid_thw format.
|
||||
"""V2 Video inputs using Qwen2.5-VL style grid_thw format.
|
||||
|
||||
Dimensions:
|
||||
- np: Number of patches
|
||||
@@ -105,8 +101,7 @@ class HCXVisionV2VideoPixelInputs(TensorSchema):
|
||||
|
||||
|
||||
class HCXVisionV2VideoEmbeddingInputs(TensorSchema):
|
||||
"""
|
||||
V2 Video embedding inputs.
|
||||
"""V2 Video embedding inputs.
|
||||
|
||||
Dimensions:
|
||||
- nf: Number of video features
|
||||
@@ -419,8 +414,7 @@ class HCXVisionV2MultiModalProcessor(
|
||||
dummy_inputs=HCXVisionV2DummyInputsBuilder,
|
||||
)
|
||||
class HCXVisionV2ForCausalLM(nn.Module, SupportsMultiModal, SupportsPP):
|
||||
"""
|
||||
HyperCLOVAX-SEED Vision-Language Model (V2 architecture).
|
||||
"""HyperCLOVAX-SEED Vision-Language Model (V2 architecture).
|
||||
|
||||
Supports:
|
||||
- HyperCLOVAX-SEED-Think-32B: Vision + Text
|
||||
|
||||
Reference in New Issue
Block a user