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
@@ -151,8 +151,7 @@ def patch_merging_by_param(
|
||||
|
||||
|
||||
class Cosmos3EdgePatchMerger(nn.Module):
|
||||
"""
|
||||
Projector: LayerNorm -> Linear -> GELU -> Linear
|
||||
"""Projector: LayerNorm -> Linear -> GELU -> Linear.
|
||||
|
||||
Reads config from projector_config (not vision_config).
|
||||
input_hidden_size * spatial_merge_size² -> merger_intermediate_size
|
||||
@@ -490,8 +489,7 @@ class Cosmos3EdgeForConditionalGeneration(
|
||||
SupportsPP,
|
||||
SupportsMRoPE,
|
||||
):
|
||||
"""
|
||||
Cosmos3 Edge model with a SigLIP2 vision encoder.
|
||||
"""Cosmos3 Edge model with a SigLIP2 vision encoder.
|
||||
|
||||
Architecture:
|
||||
- self.visual: SigLIP2 encoder + patch merger + projector
|
||||
|
||||
Reference in New Issue
Block a user