Skip to content
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

Update test_average_precision.py #2653

Merged
merged 4 commits into from
Aug 17, 2022
Merged

Conversation

puhuk
Copy link
Contributor

@puhuk puhuk commented Aug 17, 2022

Description: Update _test_distrib_integration_list_of_tensors_or_numbers to test with different rank

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

Update `_test_distrib_integration_list_of_tensors_or_numbers` to test with different rank
@puhuk
Copy link
Contributor Author

puhuk commented Aug 17, 2022

A question :
When I test with
CUDA_VISIBLE_DEVICES="" pytest --dist=each --tx $WORLD_SIZE*popen//python=python -vvv tests/ignite/contrib/metrics/test_average_precision.py, it works

But when I try with below, it runs no tests.
CUDA_VISIBLE_DEVICES="" pytest --dist=each --tx $WORLD_SIZE*popen//python=python -vvv tests/ignite/contrib/metrics/test_average_precision.py -m distribute

Change `torch.manual_seed` location
Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@vfdev-5 vfdev-5 enabled auto-merge (squash) August 17, 2022 16:06
@vfdev-5 vfdev-5 merged commit c506c31 into pytorch:master Aug 17, 2022
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.

2 participants