Yu Chengye
2b36825cbc
convert : write Gemma embedding scale for DFlash drafts ( #29802 )
...
* convert : write Gemma embedding scale for DFlash drafts
A DFlash draft shares the target's token embeddings. Gemma scales them by sqrt(hidden_size) in the forward pass, and the draft config does not state that scale, so the converted draft read unscaled embeddings.
Take the scale from the target config when the draft config has none.
Assisted-by: Claude
* convert : check with get_model_architecture for gemma models
2026-10-01 16:34:32 +02:00
..
2026-09-30 14:20:32 +08:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-09-24 08:57:31 +02:00
2026-08-17 10:15:11 +02:00
2026-10-01 08:31:42 +03:00
2026-09-27 13:43:08 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-09-03 10:37:23 +03:00
2026-08-17 10:15:11 +02:00
2026-08-22 10:35:50 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-09-23 13:34:09 +03:00
2026-09-30 14:20:32 +08:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-19 16:53:31 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-09-16 15:18:45 +02:00
2026-09-22 15:04:52 +02:00
2026-09-07 15:20:58 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-09-22 14:38:09 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-09-14 14:04:05 +03:00
2026-08-17 10:15:11 +02:00
2026-09-25 11:15:33 +08:00
2026-08-17 10:15:11 +02:00
2026-09-07 21:10:06 +02:00
2026-08-17 10:15:11 +02:00
2026-06-07 21:41:39 +02:00
2026-08-17 10:15:11 +02:00
2026-09-07 21:10:06 +02:00
2026-08-17 10:15:11 +02:00
2026-09-25 11:55:38 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-05-15 15:18:12 +02:00
2026-09-27 13:45:47 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-09-02 12:46:16 +02:00
2026-09-30 14:20:32 +08:00
2026-10-01 14:13:27 +03:00
2026-10-01 16:34:32 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-09-06 17:43:58 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00
2026-08-17 10:15:11 +02:00