Skip to content

Fixed failing mean_average_precision tests on cuda#3338

Merged
vfdev-5 merged 1 commit intomasterfrom
fix-map-test-cuda
Feb 28, 2025
Merged

Fixed failing mean_average_precision tests on cuda#3338
vfdev-5 merged 1 commit intomasterfrom
fix-map-test-cuda

Conversation

@vfdev-5
Copy link
Collaborator

@vfdev-5 vfdev-5 commented Feb 27, 2025

FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[nccl-binary] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to
 copy the tensor to host memory first.                                                                                                                                              
FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[nccl-multiclass] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu(
) to copy the tensor to host memory first.                                                                                                                                          
FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[nccl-multilabel] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu(
) to copy the tensor to host memory first.                                                                                                                                          
FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[gloo_cpu-binary] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu(
) to copy the tensor to host memory first.                                                                                                                                          
FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[gloo_cpu-multiclass] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.
cpu() to copy the tensor to host memory first.                                                                                                                                      
FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[gloo_cpu-multilabel] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.
cpu() to copy the tensor to host memory first.                                                                                                                                      
FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[gloo-binary] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to
 copy the tensor to host memory first.
FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[gloo-multiclass] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu(
) to copy the tensor to host memory first.
FAILED tests/ignite/metrics/test_mean_average_precision.py::test_distrib_integration[gloo-multilabel] - TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu(
) to copy the tensor to host memory first.

@vfdev-5 vfdev-5 merged commit 9f904a8 into master Feb 28, 2025
13 of 17 checks passed
@vfdev-5 vfdev-5 deleted the fix-map-test-cuda branch February 28, 2025 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant