Ruixiang Wang
88a39274ec
spec: add EAGLE3 speculative decoding support (#18039)
* llama : enable layer input extraction
* spec: support eagle3
* eagle3: fix params bug
* eagle3: support Gemma4 eagle3 from RedHatAI
* eagle3: set sync when get features from target
Co-authored-by: tnhnyzc <115956684+tnhnyzc@users.noreply.github.com>
* eagle3 : fix ubatch handling in embd_layer_inp extraction and encoder
Co-authored-by: Doğaç Eldenk <dogacel@gmail.com>
* eagle3: adapt to upstream changes
* eagle3: fix rebase issues and adapt to upstream changes
* eagle3:exclude the eagle3 arch from test-llama-archs
* eagle3: fix editorconfig check failures
* eagle3: fix multi-seq issue in d2t vocab mapping
* cont : minor style / clean-up
* spec : remove `common_speculative_setup_draft_model()`
* llama : clean-up unused API
* eagle3: set d2t vocab mapping in decode graph
* cont : assert layer inputs are configured
* hparams : use n_embd_inp instead of n_embd_target_features
* eagle3: make output.weight optional and inherit from target model when needed
* haparams : generic norm-before-residual param
* llama-ext : consistent names
* cont : fix
* hparams : remove target_hidden_size
* cparams : rename output_layer_inp -> embeddings_layer_inp
* arch : reuse ATTN_NORM_2 instead of adding new hidden norm
* llama : clean-up names
* cont : add assert + comment
* Update conversion/llama.py
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Co-authored-by: tnhnyzc <115956684+tnhnyzc@users.noreply.github.com>
Co-authored-by: Doğaç Eldenk <dogacel@gmail.com>
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
2026-06-12 10:21:06 +03:00
..
2026-04-24 12:36:02 +02:00
2026-06-09 12:09:07 +02:00
2026-05-29 16:30:55 +02:00
2023-11-07 00:36:23 +03:00
2026-04-17 11:11:46 +03:00
2026-04-17 11:11:46 +03:00
2026-05-17 13:36:05 +02:00
2026-05-25 08:56:18 +03:00
2026-04-03 09:07:59 +03:00
2026-05-25 08:56:18 +03:00
2026-05-25 08:56:18 +03:00
2026-06-05 14:31:56 -05:00
2026-06-05 14:31:56 -05:00
2026-06-10 14:41:41 +02:00
2026-05-25 08:56:18 +03:00
2026-06-04 17:45:40 +02:00
2026-06-07 22:48:11 +02:00
2026-06-09 12:09:07 +02:00
2026-04-06 20:54:06 +02:00
2026-03-05 10:47:28 +01:00
2026-04-27 08:06:39 +03:00
2026-04-27 08:06:39 +03:00
2026-05-29 16:30:55 +02:00
2026-05-29 16:30:55 +02:00
2026-05-24 14:43:08 +08:00
2026-05-24 14:43:08 +08:00
2026-05-18 17:11:47 +02:00
2026-05-18 17:11:47 +02:00
2026-03-09 17:47:54 +01:00
2026-06-04 17:45:40 +02:00
2026-06-04 17:45:40 +02:00
2025-11-18 18:54:15 +01:00
2026-01-20 18:23:25 +01:00
2026-03-28 17:55:38 +01:00
2025-12-16 04:05:23 -06:00
2026-01-04 22:22:16 +02:00
2026-05-14 13:05:52 +03:00
2026-05-14 13:05:52 +03:00
2026-01-28 19:42:42 +02:00
2026-01-28 19:42:42 +02:00
2026-05-19 15:32:58 +03:00
2026-03-31 13:50:51 +02:00
2026-05-29 09:21:37 +03:00
2026-01-30 21:27:27 +02:00
2026-04-13 18:18:18 -05:00
2026-04-13 18:18:18 -05:00
2026-05-12 19:08:07 +02:00
2026-05-12 19:08:07 +02:00
2026-06-01 11:37:11 +02:00
2026-06-01 11:37:11 +02:00
2026-03-16 08:50:38 +02:00
2025-05-14 19:50:57 +01:00
2026-06-07 22:48:11 +02:00
2026-06-07 22:48:11 +02:00
2026-06-12 10:21:06 +03:00
2026-06-04 01:29:09 +08:00
2026-03-11 10:26:12 +01:00
2026-03-11 10:26:12 +01:00