🚨 Add `get_data_dependent_inputs`: compute a forward's data-dependent inputs outside it #50887
Encoders: index gathers instead of per-image loops and host syncs
7236b166
Add get_data_dependent_inputs
83d5ddd0
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
7934c2f9
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
d0a93086
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
5cd2b3d8
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
7615cc2d
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
bbbb88c4
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
13877b32
get_data_dependent_inputs: default on the multimodal mixin, called on…
58036cea
Data-dependent inputs: fix Glm5Next, HunYuan-VL, Ernie and Cosmos3-Ed…
54297c2c
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
7c36ef7e
Data-dependent inputs: test the whole forward with fullgraph, make Gr…
89ad8053
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
02b5739f
Idefics2: packed vision encoder and resampler under flash attention
3ef6286b
LLaVA-OneVision: pack image features with precomputed bilinear taps
1c84ed24
Molmo2: varlen pooling cross-attention under flash attention; bf16 to…
d6c24734
Idefics3, SmolVLM: precompute the real images; mixin default tolerate…
ec0b0a73
Fullgraph forward test: flash only for packed encoders, padded ones o…
390b4e02
Fullgraph forward test: get_packed_inputs_encoders returns the packed…
797c126e
Data-dependent inputs: M-RoPE positions for Qwen2.5/3-Omni and MiniCP…
a6101136
Qwen2.5/3-Omni: precompute the M-RoPE positions on the prompt only
f2bc6b90
FunASR-Nano: the adaptor owns its config, so it gets an attention imp…
c044391f
Fullgraph forward test: one attention mapping for standalone and comp…
e64e3a24
Exporters: precompute data-dependent inputs with the model's get_data…
600f249f
Emu3: precompute the per-image crop of the VQ token grids so get_imag…
5a025bf2
Exporters: unskip the exports the precomputed inputs enable
d4e64f88
IlyasMoutawwakil
changed the title Add `get_data_dependent_inputs`: compute a forward's data-dependent inputs outside it 🚨 Add `get_data_dependent_inputs`: compute a forward's data-dependent inputs outside it 4 days ago
vision_utils: the antialiased kernel is a branch of the per-axis inte…
de5c8613
Qwen3-ASR: drop the head's get_data_dependent_inputs, the mixin's def…
7663b5af
Merge origin/vision-getters-return-flat into data-dependent-inputs
8a6cf74c
Sub-configs no sub-model owns take the model's attention implementati…
0687bea5
Fullgraph forward test: fp32 unless packed encoders need flash; fix I…
67b55cf3
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
653c92ba
Merge remote-tracking branch 'origin/main' into data-dependent-inputs
357dc8e6
Merge branch 'vision-getters-return-flat' into data-dependent-inputs
b9bdcfd1
Merge vision-getters-return-flat into data-dependent-inputs
db0f8f87
select_hidden_states: capture the caller's layers on top of the ones …
628aa863
Merge vision-getters-return-flat into data-dependent-inputs
abb2954b
Merge vision-getters-return-flat into data-dependent-inputs
d4073584
Merge vision-getters-return-flat into data-dependent-inputs
836e0a63
Merge vision-getters-return-flat into data-dependent-inputs
b4ee098e
Generic heads: the base model's get_data_dependent_inputs
5e9593a8
Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
e8067cd9
Merge branch 'vision-getters-return-flat' into data-dependent-inputs
7bdd4b00
LLaVA-OneVision-1.5: the vision tower's get_data_dependent_inputs
5d93a580
GLM-Image: the vision tower's data-dependent inputs only with pixel_v…
9e892978
LLaVA-OneVision-1.5: place the CLS tokens by index, not per-frame hos…
231b5662
GLM-Image: pick the source grids without reading images_per_sample on…
e3d28eb3
GLM-Image: the M-RoPE positions among the data-dependent inputs
e73f0351
Merge branch 'vision-getters-return-flat' into data-dependent-inputs
6c552223
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub