Skip to content

Conversation

Nic-Ma
Copy link
Contributor

@Nic-Ma Nic-Ma commented Feb 24, 2021

Fixes #1633 .

Description

This PR fixed the string list all gather issue when length > 2014. Changed to all_gather every item separately instead of joining to a long string.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Feb 24, 2021

/black

Signed-off-by: Nic Ma <nma@nvidia.com>
Copy link
Contributor

@yiheng-wang-nv yiheng-wang-nv left a comment

Choose a reason for hiding this comment

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

Thanks Nic, I did some test locally and it works fine.

Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Feb 25, 2021

/black

@wyli wyli enabled auto-merge (squash) February 25, 2021 15:07
monai-bot and others added 2 commits February 25, 2021 15:10
Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Feb 25, 2021

Hi @wyli ,

The CI failed due to some CUDA driver missing issue, have you seen this before?

Thanks.

@wyli wyli merged commit 9ae3005 into Project-MONAI:master Feb 25, 2021
@Nic-Ma Nic-Ma deleted the 1633-fix-str-allgather branch July 2, 2021 23:37
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.

MetricsSaver Bug when filename is long

4 participants