add paddleocr-vl

This commit is contained in:
jhqxxx
2025-12-09 00:41:30 +08:00
parent aef4d7d34d
commit 4228616058
19 changed files with 1498 additions and 83 deletions
+2
View File
@@ -1018,7 +1018,9 @@ impl DeepseekV2DecoderLayer {
config.hidden_size,
config.num_attention_heads,
config.num_key_value_heads,
None,
false,
None,
)?;
let mlp = if layer_id >= config.first_k_dense_replace
&& layer_id.is_multiple_of(config.moe_layer_freq)