Skip to content

Added the vision_transformer.py file which fixes the issue #13326 #14990

Added the vision_transformer.py file which fixes the issue #13326

Added the vision_transformer.py file which fixes the issue #13326 #14990

Triggered via pull request October 8, 2025 14:00
@NANDAGOPALNGNANDAGOPALNG
synchronize #13331
master
Status Failure
Total duration 13s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
ruff
Process completed with exit code 1.
Ruff (F821): computer_vision/vision_tranformer.py#L419
computer_vision/vision_tranformer.py:419:9: F821 Undefined name `torch`
Ruff (E501): computer_vision/vision_tranformer.py#L361
computer_vision/vision_tranformer.py:361:89: E501 Line too long (103 > 88)
Ruff (F821): computer_vision/vision_tranformer.py#L297
computer_vision/vision_tranformer.py:297:13: F821 Undefined name `torch`
Ruff (F821): computer_vision/vision_tranformer.py#L243
computer_vision/vision_tranformer.py:243:39: F821 Undefined name `torch`
Ruff (F821): computer_vision/vision_tranformer.py#L242
computer_vision/vision_tranformer.py:242:39: F821 Undefined name `torch`
Ruff (E501): computer_vision/vision_tranformer.py#L133
computer_vision/vision_tranformer.py:133:89: E501 Line too long (91 > 88)
Ruff (PLR0402): computer_vision/vision_tranformer.py#L17
computer_vision/vision_tranformer.py:17:8: PLR0402 Use `from torch.nn import functional` in lieu of alias
Ruff (I001): computer_vision/vision_tranformer.py#L16
computer_vision/vision_tranformer.py:16:1: I001 Import block is un-sorted or un-formatted