Skip to content

Commit 759c5c8

Browse files
committed
Update test_modeling_common.py
1 parent bd52835 commit 759c5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_modeling_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def seeded_init_weights(self, module):
535535
if not (v1 == v2).all():
536536
different_weights.append(k1)
537537

538-
# Buffers that are ignored randomly are ignored as they are not initialized on meta device anyway
538+
# Buffers that are initialized randomly are ignored as they are not initialized on meta device anyway
539539
buffer_names = {name for name, _ in model_from_config.named_buffers()}
540540
different_weights = [k for k in different_weights if k not in buffer_names]
541541

0 commit comments

Comments
 (0)