We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
reversed_window_indices
SiglipEncoder
1 parent 09229d8 commit da9ea88Copy full SHA for da9ea88
fastdeploy/model_executor/models/paddleocr_vl/siglip.py
@@ -530,7 +530,7 @@ def forward(
530
all_attentions=all_attentions,
531
attn_cu_seqlens=attn_cu_seqlens,
532
output_hidden_states=output_hidden_states,
533
- reversed_window_indices=reversed_window_indices if output_hidden_states else None,
+ reversed_window_indices=reversed_window_indices if use_window_attn else None,
534
use_window_attn=use_window_attn,
535
hidden_states=hidden_states,
536
attention_mask=attention_mask,
0 commit comments