[Feature] Add SynBuffersHook (#1184)

This commit is contained in:
liukuikun 2022-07-22 16:39:21 +08:00 committed by GitHub
parent 6f30020eec
commit ec7415a382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ default_hooks = dict(
param_scheduler=dict(type='ParamSchedulerHook'),
checkpoint=dict(type='CheckpointHook', interval=1),
sampler_seed=dict(type='DistSamplerSeedHook'),
)
sync_buffer=dict(type='SyncBuffersHook'))
env_cfg = dict(
cudnn_benchmark=True,