Skip to content

Update numpy requirement from ~=1.26 to ~=2.0 #162

Update numpy requirement from ~=1.26 to ~=2.0

Update numpy requirement from ~=1.26 to ~=2.0 #162

Triggered via pull request July 31, 2024 17:33
Status Failure
Total duration 2m 46s
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_10_2_3" failed.
Python 3.12, Torch 2.3
The operation was canceled.