Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix test_gluon.py:test_sync_batchnorm when number of GPUS > 4 #16834

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

larroy
Copy link
Contributor

@larroy larroy commented Nov 16, 2019

Description

This test assumes the number of batches can be divided by the number of gpus, and it generates different configurations enumerating all the GPUs, as the number of GPUs is bigger than 4 in some hosts, the batch can't be split evenly across GPUs.

This patch fixes that without major modifications to the test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants