We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b79c0 commit 7bd2308Copy full SHA for 7bd2308
python/paddle/distributed/auto_parallel/api.py
@@ -196,6 +196,7 @@ def lazy_init_hook(param, origin_hook):
196
# lazy init hook with randomness controlling
197
def _init_func(var, block):
198
if dist.get_rank() not in param.process_mesh.process_ids:
199
+ # None calc rank, just return no init.
200
return
201
# get the unique rng name
202
rng_name = determinate_rng(
0 commit comments