feat(language-model): WIP refactor attribute with Matrix pipeline #708
checks.yml
on: push
Type Checks
1m 12s
ruff
9s
Unit Tests
1m 26s
Distributed Tests
1m 47s
Annotations
13 errors and 4 warnings
|
ruff
Process completed with exit code 1.
|
|
ruff (F821):
src/lm_saes/backend/language_model.py#L910
src/lm_saes/backend/language_model.py:910:59: F821 Undefined name `calculate_attribution`
|
|
Type Checks
9 errors
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L910
Cannot access attribute "adjacency_matrix" for class "AttributionGraph"
Attribute "adjacency_matrix" is unknown (reportAttributeAccessIssue)
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L910
"calculate_attribution" is not defined (reportUndefinedVariable)
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L910
Cannot access attribute "update_source" for class "AttributionGraph"
Attribute "update_source" is unknown (reportAttributeAccessIssue)
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L901
Cannot access attribute "get_source_nodes" for class "AttributionGraph"
Attribute "get_source_nodes" is unknown (reportAttributeAccessIssue)
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L900
Argument of type "tuple[list[NodeInfo], Tensor]" cannot be assigned to parameter "input" of type "Tensor" in function "topk"
"tuple[list[NodeInfo], Tensor]" is not assignable to "Tensor" (reportArgumentType)
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L899
"__setitem__" method not defined on type "tuple[list[NodeInfo], Tensor]" (reportIndexIssue)
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L895
Argument of type "None" cannot be assigned to parameter "selected_node_infos" of type "dict[Any, NodeInfo]" in function "compute_feature_influences"
"None" is not assignable to "dict[Any, NodeInfo]" (reportArgumentType)
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L894
Argument of type "dict[Unknown, Unknown]" cannot be assigned to parameter "logits_infos" of type "list[NodeInfo]" in function "compute_feature_influences"
"dict[Unknown, Unknown]" is not assignable to "list[NodeInfo]" (reportArgumentType)
|
|
Type Checks:
src/lm_saes/backend/language_model.py#L704
Function with declared return type "tuple[list[NodeInfo], Tensor]" must return value on all code paths
"None" is not assignable to "tuple[list[NodeInfo], Tensor]" (reportReturnType)
|
|
Unit Tests
Process completed with exit code 1.
|
|
ruff
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Type Checks
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Unit Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Distributed Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|