Commit 32f9392
fix: Initialize no_rope_layers when missing in Eagle3 config
Handles cases where draft model configs (like LlamaConfig) don't have
no_rope_layers attribute by initializing it with proper defaults before
Llama4DecoderLayer creation.
This prevents AttributeError during draft model initialization while
maintaining compatibility with existing configurations.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Rahul Tuli <rtuli@redhat.com>1 parent 60501f8 commit 32f9392
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
280 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
281 | 288 | | |
282 | 289 | | |
283 | 290 | | |
| |||
0 commit comments