Skip to content

Commit 0e35cfd

Browse files
authored
add process group for distillation teacher checkpoint loader (#248)
1 parent 7bf81b2 commit 0e35cfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dinov3/train/ssl_meta_arch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ def init_weights(self) -> None:
339339
self.cfg.distillation.checkpoint_path,
340340
skip_load_keys=["dino_loss.center", "ibot_patch_loss.center"],
341341
keys_not_sharded=["backbone.rope_embed.periods", "qkv.bias_mask"],
342+
process_group=distributed.get_default_process_group(),
342343
)
343344
else:
344345
logger.info("Init teacher to distil from, used for testing purpose only")

0 commit comments

Comments
 (0)