We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0ac68 commit f5835f9Copy full SHA for f5835f9
examples/speculative_decoding/main.py
@@ -203,6 +203,8 @@ def train():
203
"draft_vocab_size": custom_config["draft_vocab_size"]
204
if eagle_args.eagle_config and "draft_vocab_size" in custom_config
205
else model.config.vocab_size,
206
+ # pass in the seq length for flex attention mask compilation
207
+ "training_seq_len": training_args.training_seq_len,
208
}
209
)
210
0 commit comments