Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/models/decoder_only_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ void DecoderOnlyPipelineState::RunPipeline(int total_length, DeviceSpan<int32_t>
}
}
}

// Notify derived classes that this pipeline stage has completed.
// This allows e.g. Qwen VL to inject vision embeddings after the embeddings stage.
OnStageComplete(pipeline_state->id_, next_tokens);
}
}

Expand Down
Loading