Skip to content

Add attentive layer to Jepa #1493

Add attentive layer to Jepa

Add attentive layer to Jepa #1493

Triggered via pull request December 20, 2024 13:01
Status Failure
Total duration 4m 4s
Artifacts

ci_lint_py.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

24 errors
Lint Python / Lint: src/fairseq2/recipes/jepa/factory.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python / Lint: src/fairseq2/recipes/jepa/models.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python / Lint
Process completed with exit code 1.
Lint Python / Lint: src/fairseq2/nn/transformer/encoder_layer.py#L10
'collections.abc.Callable' imported but unused
Lint Python / Lint: src/fairseq2/nn/transformer/encoder_layer.py#L13
'torch.zeros' imported but unused
Lint Python / Lint: src/fairseq2/nn/transformer/encoder_layer.py#L14
'torch.nn.Parameter' imported but unused
Lint Python / Lint: src/fairseq2/recipes/jepa/factory.py#L24
'fairseq2.nn.transformer.TransformerDecoder' imported but unused
Lint Python / Lint: src/fairseq2/recipes/jepa/factory.py#L31
'fairseq2.nn.transformer.decoder.StandardTransformerDecoder' imported but unused
Lint Python / Lint: src/fairseq2/recipes/jepa/factory.py#L32
'fairseq2.nn.transformer.decoder_layer.StandardTransformerDecoderLayer' imported but unused
Lint Python / Lint: src/fairseq2/recipes/jepa/models.py#L41
blank line contains whitespace
Lint Python / Lint
Process completed with exit code 1.
Lint Python / Lint
Process completed with exit code 1.
Lint Python / Lint: src/fairseq2/recipes/jepa/models.py#L85
Item "None" of "MultiheadAttention | None" has no attribute "model_dim"
Lint Python / Lint: src/fairseq2/recipes/jepa/models.py#L99
Incompatible types in assignment (expression has type "MultiheadAttention | None", variable has type "MultiheadAttention")
Lint Python / Lint: src/fairseq2/recipes/jepa/models.py#L260
Unexpected keyword argument "device" for "Parameter"
Lint Python / Lint: src/fairseq2/recipes/jepa/models.py#L260
Unexpected keyword argument "dtype" for "Parameter"
Lint Python / Lint: src/fairseq2/recipes/jepa/models.py#L316
Returning Any from function declared to return "Tensor"
Lint Python / Lint: src/fairseq2/recipes/jepa/factory.py#L144
Argument 1 to "AttentivePoolerBuilder" has incompatible type "AttentivePoolerConfig"; expected "JepaForClassificationConfig"
Lint Python / Lint: src/fairseq2/recipes/jepa/factory.py#L182
Incompatible types in assignment (expression has type "JepaForClassificationConfig", variable has type "AttentivePoolerConfig")