Skip to content

Commit 17cc0cd

Browse files
committed
fix group
1 parent 08a7810 commit 17cc0cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fastvideo/v1/models/loader/weight_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,13 @@ def safetensors_weights_iterator(
163163
handle = dist.broadcast(param,
164164
src=dist.get_global_rank(
165165
group, 0),
166-
async_op=True)
166+
async_op=True,
167+
group=group)
167168
handles.append(handle)
168169
else:
169170
dist.broadcast(param,
170-
src=dist.get_global_rank(group, 0))
171+
src=dist.get_global_rank(group, 0),
172+
group=group)
171173
yield name, param
172174

173175
if async_broadcast:

0 commit comments

Comments
 (0)