Commit 421c9e66 authored by Christian Sarofeen's avatar Christian Sarofeen
Browse files

Switched to non-bucketed comm

parent 137d822b
...@@ -131,7 +131,8 @@ def main(): ...@@ -131,7 +131,8 @@ def main():
if args.fp16: if args.fp16:
model = network_to_half(model) model = network_to_half(model)
if args.distributed: if args.distributed:
model = DDP(model) #shared param turns off bucketing in DDP, for lower latency runs this can improve perf
model = DDP(model, shared_param=True)
global model_params, master_params global model_params, master_params
if args.fp16: if args.fp16:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment