Skip to content

remove policy

remove policy #24

Triggered via push September 19, 2023 01:03
Status Failure
Total duration 13m 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

cpu_ci.yml

on: push
Matrix: run-tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors
run-tests (3.10, ubuntu-latest): elk/extraction/extraction.py#L154
Argument of type "str | device" cannot be assigned to parameter "self" of type "PreTrainedModel" in function "__call__"   Type "str | device" cannot be assigned to type "PreTrainedModel"     "device" is incompatible with "PreTrainedModel" (reportGeneralTypeIssues)
run-tests (3.10, ubuntu-latest): elk/extraction/extraction.py#L193
Argument of type "PreTrainedModel | FullyShardedDataParallel" cannot be assigned to parameter "model" of type "PreTrainedModel" in function "__init__"   Type "PreTrainedModel | FullyShardedDataParallel" cannot be assigned to type "PreTrainedModel"     "FullyShardedDataParallel" is incompatible with "PreTrainedModel" (reportGeneralTypeIssues)
run-tests (3.10, ubuntu-latest): elk/extraction/prompt_loading.py#L168
Argument of type "Features | Unknown | None" cannot be assigned to parameter "features" of type "Features" in function "infer_label_column"   Type "Features | Unknown | None" cannot be assigned to type "Features"     Type "None" cannot be assigned to type "Features" (reportGeneralTypeIssues)
run-tests (3.10, ubuntu-latest): elk/extraction/prompt_loading.py#L169
Object of type "None" is not subscriptable (reportOptionalSubscript)
run-tests (3.10, ubuntu-latest): elk/training/train.py#L27
Argument of type "Literal['eigen']" cannot be assigned to parameter "default" of type "_MISSING_TYPE" in function "subgroups"   "Literal['eigen']" is incompatible with "_MISSING_TYPE" (reportGeneralTypeIssues)
run-tests (3.10, ubuntu-latest): elk/utils/data_utils.py#L47
Expression of type "tuple[str, ...]" cannot be assigned to return type "tuple[str, str]"   "tuple[str, ...]" is incompatible with "tuple[str, str]"     Tuple size mismatch; expected 2 but received indeterminate (reportGeneralTypeIssues)
run-tests (3.10, ubuntu-latest)
6 errors
run-tests (3.10, macos-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
run-tests (3.11, macos-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
run-tests (3.11, ubuntu-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
run-tests (3.11, ubuntu-latest)
The operation was canceled.