Skip to content

Update black requirement from ~=24.4 to ~=24.8 #163

Update black requirement from ~=24.4 to ~=24.8

Update black requirement from ~=24.4 to ~=24.8 #163

Triggered via pull request August 2, 2024 17:57
Status Failure
Total duration 2m 31s
Billable time 9m
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Python 3.10, Torch 2.3: examples/fine_tuning/training.py#L22
"Optimizer" is not exported from module "torch.optim" (reportPrivateImportUsage)
Python 3.10, Torch 2.3: examples/fine_tuning/training.py#L75
"Optimizer" is not exported from module "torch.optim" (reportPrivateImportUsage)
Python 3.10, Torch 2.3: examples/fine_tuning/cifar_100/experiment.py#L104
"Adam" is not exported from module "torch.optim" (reportPrivateImportUsage)
Python 3.10, Torch 2.3: examples/fine_tuning/mnist/experiment.py#L95
"Adam" is not exported from module "torch.optim" (reportPrivateImportUsage)
Python 3.10, Torch 2.3: afsl/active_data_loader.py#L129
Argument of type "VTL | UndirectedVTL" cannot be assigned to parameter "acquisition_function" of type "AcquisitionFunction[M@ActiveDataLoader]" in function "__init__"   Type "VTL | UndirectedVTL" is incompatible with type "AcquisitionFunction[M@ActiveDataLoader]"     "VTL" is incompatible with "AcquisitionFunction[M@ActiveDataLoader]"       Type parameter "M@AcquisitionFunction" is invariant, but "ModelWithEmbeddingOrKernel | None" is not the same as "M@ActiveDataLoader" (reportArgumentType)
Python 3.10, Torch 2.3
5 errors
Python 3.11, Torch 2.3: examples/fine_tuning/training.py#L22
"Optimizer" is not exported from module "torch.optim" (reportPrivateImportUsage)
Python 3.11, Torch 2.3: examples/fine_tuning/training.py#L75
"Optimizer" is not exported from module "torch.optim" (reportPrivateImportUsage)
Python 3.11, Torch 2.3: examples/fine_tuning/cifar_100/experiment.py#L104
"Adam" is not exported from module "torch.optim" (reportPrivateImportUsage)
Python 3.11, Torch 2.3: examples/fine_tuning/mnist/experiment.py#L95
"Adam" is not exported from module "torch.optim" (reportPrivateImportUsage)
Python 3.11, Torch 2.3: afsl/active_data_loader.py#L129
Argument of type "VTL | UndirectedVTL" cannot be assigned to parameter "acquisition_function" of type "AcquisitionFunction[M@ActiveDataLoader]" in function "__init__"   Type "VTL | UndirectedVTL" is incompatible with type "AcquisitionFunction[M@ActiveDataLoader]"     "VTL" is incompatible with "AcquisitionFunction[M@ActiveDataLoader]"       Type parameter "M@AcquisitionFunction" is invariant, but "ModelWithEmbeddingOrKernel | None" is not the same as "M@ActiveDataLoader" (reportArgumentType)
Python 3.11, Torch 2.3
5 errors
Python 3.12, Torch 2.3
The job was canceled because "_3_11_2_3" failed.
Python 3.12, Torch 2.3
The operation was canceled.