Skip to content

Commit 9048cf4

Browse files
rsyuecirquit
andauthored
Update src/fairseq2/models/hg/adapter.py
Co-authored-by: Alexander Erben <aerben@meta.com>
1 parent 341c2bc commit 9048cf4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/fairseq2/models/hg/adapter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ def forward( # type: ignore[override]
200200
"""
201201
attention_mask = self._create_attention_mask(seqs, seqs_layout)
202202

203-
# Prepare kwargs for HuggingFace model
204203
hf_kwargs = {
205204
"input_ids": seqs,
206205
"attention_mask": attention_mask,

0 commit comments

Comments
 (0)