Skip to content

Fixed failing mean_average_precision tests on cuda #3338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2025
Merged

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