Commit d8f785a
committed
[V1] Enhance check when clicing encoder output
Prepare for vllm-project#11409
For pixtral model, we need to insert placeholders in the middle of
encoder output, to fit into whole soft embedding. This case makes
slicing operation tricky. This PR raises assertion if something's
off.
Signed-off-by: Linkun Chen <[email protected]>1 parent 6077919 commit d8f785a
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| 737 | + | |
737 | 738 | | |
738 | 739 | | |
739 | 740 | | |
| |||
0 commit comments