Skip to content

Fix DataParallel scattering for empty lists / dicts / tuples#3769

Merged
soumith merged 2 commits intopytorch:masterfrom
pemazare:master
Nov 22, 2017
Merged

Fix DataParallel scattering for empty lists / dicts / tuples#3769
soumith merged 2 commits intopytorch:masterfrom
pemazare:master

Conversation

@pemazare
Copy link
Copy Markdown
Contributor

This fixes a bug where the scattering of kwargs containing empty lists returned empty results. The updated unit test reflects this use case.

@pemazare pemazare changed the title Fix DataParallel scattering for empty lists Fix DataParallel scattering for empty lists and dicts Nov 21, 2017
@pemazare pemazare changed the title Fix DataParallel scattering for empty lists and dicts Fix DataParallel scattering for empty lists / dicts / tuples Nov 21, 2017
@soumith soumith merged commit 3ac2a20 into pytorch:master Nov 22, 2017
@soumith soumith added the 0.3.1 label Feb 4, 2018
soumith pushed a commit that referenced this pull request Feb 7, 2018
* Fix DataParallel scattering for empty lists and dicts

* Fix DataParallel scattering for empty tuples
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…#3769)

* Fix DataParallel scattering for empty lists and dicts

* Fix DataParallel scattering for empty tuples
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