Skip to content

Commit 12b8984

Browse files
rsyuecirquit
andauthored
Update src/fairseq2/models/hg/adapter.py
Co-authored-by: Alexander Erben <aerben@meta.com>
1 parent 801e77d commit 12b8984

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/fairseq2/models/hg/adapter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ def __init__(
108108
) -> None:
109109
super().__init__(max_seq_len=max_seq_len)
110110

111-
# Register the HF model as a proper submodule
112-
# Use a name that won't conflict with parent class attributes
113111
self.add_module("_wrapped_hf_model", hf_model)
114112

115113
# Store reference to HF model's config

0 commit comments

Comments
 (0)