Skip to content

Conversation

@puhuk
Copy link
Contributor

@puhuk puhuk commented Aug 11, 2022

…er rank

Fixes #{issue number}

Description: Change generating data logic from slicing to different random seed per rank in _test_distrib_integration_multiclass
After this PR, will correct _test_distrib_integration_multilabel and _test_distrib_integration_list_of_tensors_or_numbers

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)

…er rank

Change generating data logic from slicing to different random seed per rank
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 for the PR @puhuk

puhuk and others added 4 commits August 11, 2022 15:35
delete duplicated code
change `s` to `batch_size`
eliminate variable `offset`
Modify `_test_distrib_integration_multilabel` and `_test_distrib_integration_list_of_tensors_or_numbers`
Correct `_test_distrib_integration_multiclass` with correct use of `Engine`
Revert other methods except `_test_distrib_integration_multiclass`
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.

LGTM, thanks @puhuk

Let's see if CI is passing

@vfdev-5 vfdev-5 merged commit ed13aa9 into pytorch:master Aug 15, 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