Skip to content

Checks

Checks #382

Triggered via schedule March 25, 2026 17:40
Status Failure
Total duration 1m 35s
Artifacts

checks.yml

on: schedule
Build and test documentation
49s
Build and test documentation
Link correctness
8s
Link correctness
Code quality (ty and pre-commit hooks)
37s
Code quality (ty and pre-commit hooks)
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
ty (unsupported-operator): tests/unit/autojac/test_mtl_backward.py#L480
tests/unit/autojac/test_mtl_backward.py:480:13: unsupported-operator: Unary operator `-` is not supported for object of type `Tensor | None` info: rule `unsupported-operator` is enabled by default
ty (unsupported-operator): tests/unit/autojac/test_mtl_backward.py#L451
tests/unit/autojac/test_mtl_backward.py:451:13: unsupported-operator: Unary operator `-` is not supported for object of type `Tensor | None` info: rule `unsupported-operator` is enabled by default
ty (unsupported-operator): tests/unit/autojac/test_jac.py#L337
tests/unit/autojac/test_jac.py:337:13: unsupported-operator: Unary operator `-` is not supported for object of type `Tensor | None` info: rule `unsupported-operator` is enabled by default
ty (unsupported-operator): tests/unit/autojac/test_jac.py#L318
tests/unit/autojac/test_jac.py:318:13: unsupported-operator: Unary operator `-` is not supported for object of type `Tensor | None` info: rule `unsupported-operator` is enabled by default
ty (unsupported-operator): tests/unit/autojac/test_backward.py#L339
tests/unit/autojac/test_backward.py:339:13: unsupported-operator: Unary operator `-` is not supported for object of type `Tensor | None` info: rule `unsupported-operator` is enabled by default
ty (unsupported-operator): tests/unit/autojac/test_backward.py#L320
tests/unit/autojac/test_backward.py:320:13: unsupported-operator: Unary operator `-` is not supported for object of type `Tensor | None` info: rule `unsupported-operator` is enabled by default
ty (invalid-argument-type): tests/unit/aggregation/test_aligned_mtl.py#L42
tests/unit/aggregation/test_aligned_mtl.py:42:29: invalid-argument-type: Argument to bound method `__init__` is incorrect: Expected `Literal["min", "median", "rmse"]`, found `Literal["test"]` src/torchjd/aggregation/_aligned_mtl.py:60:9: info: Method defined here src/torchjd/aggregation/_aligned_mtl.py:63:9: Parameter declared here info: rule `invalid-argument-type` is enabled by default
ty (unresolved-attribute): src/torchjd/autojac/_utils.py#L182
src/torchjd/autojac/_utils.py:182:26: unresolved-attribute: Object of type `Node` has no attribute `variable` info: rule `unresolved-attribute` is enabled by default
ty (invalid-method-override): src/torchjd/autogram/_module_hook_manager.py#L173
src/torchjd/autogram/_module_hook_manager.py:173:9: invalid-method-override: Invalid override of method `setup_context`: Definition is incompatible with `_SingleLevelFunction.setup_context` .venv/lib/python3.14/site-packages/torch/autograd/function.py:400:9: `_SingleLevelFunction.setup_context` defined here info: This violates the Liskov Substitution Principle info: rule `invalid-method-override` is enabled by default
ty (invalid-method-override): src/torchjd/autogram/_jacobian_computer.py#L176
src/torchjd/autogram/_jacobian_computer.py:176:9: invalid-method-override: Invalid override of method `vmap`: Definition is incompatible with `Function.vmap` .venv/lib/python3.14/site-packages/torch/autograd/function.py:548:9: `Function.vmap` defined here info: This violates the Liskov Substitution Principle info: rule `invalid-method-override` is enabled by default