facebookresearch / EGG

EGG: Emergence of lanGuage in Games
MIT License
281 stars 99 forks source link

fix aggregated interaction saving #210

Closed robertodessi closed 3 years ago

robertodessi commented 3 years ago

Description

Fixing storing interaction callbacks

Related Issue (if any)

207

Motivation and Context

When training with multiple gpus interactions are not always aggregated across gpus. Given that we should handle this and control whether the leader process only (aggregated case) or all process (non-aggregated case) should save them.

How Has This Been Tested?

UTs pass locally