[GLM-Image] Add batch support for GlmImagePipeline #13007
init
10976ea5
change from right padding to left padding
a0717561
try i2i batch
aa85e347
fix: revert i2i prior_token_image_ids to original 1D tensor format
b5a3ca11
refactor KVCache for per prompt batching
5bba1a02
fix KVCache
f8384cb8
fix shape error
e665785d
refactor pipeline
26284e15
fix for left padding
ff262599
insert seed to AR model
95192398
delete generator, use torch manual_seed
ada3f1da
add batch processing unit tests for GlmImagePipeline
77bbeea2
Merge branch 'main' into feat/glmimage-batch
f83eb5c1
simplify normalize images method
39b6393e
fix grids_per_sample
5f148256
fix t2i
c0df2c48
delete comments, simplify condition statement
7c52b88c
chage generate_prior_tokens outputs
4e2fbb21
simplify if logic
15aaff4e
support user provided prior_token_ids directly
6dc4775a
Merge branch 'main' into feat/glmimage-batch
686b7f81
JaredforReal
force pushed
from
14aca7d6
to
686b7f81
198 days ago
yiyixuxu
approved these changes
on 2026-01-23
remove blank lines
77a457d2
align with transformers
cc184350
Merge branch 'main' into feat/glmimage-batch
c1b6f8d3
Apply style fixes
b897221b
yiyixuxu
merged
22ac6fae
into main 194 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub