File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/diffusers/pipelines/glm_image
tests/pipelines/glm_image Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3636# Because it's not released in stable as of 13/01/2026. So this is just a proxy.
3737GlmImageProcessor = ProcessorMixin
3838GlmImageForConditionalGeneration = PreTrainedModel
39- if is_transformers_version (">=" , "4.57.4 " ):
39+ if is_transformers_version (">=" , "5.0.0.dev0 " ):
4040 from transformers import GlmImageForConditionalGeneration , GlmImageProcessor
4141
4242
Original file line number Diff line number Diff line change 2626from ..test_pipelines_common import PipelineTesterMixin
2727
2828
29- if is_transformers_version (">=" , "4.57.4 " ):
29+ if is_transformers_version (">=" , "5.0.0.dev0 " ):
3030 from transformers import GlmImageConfig , GlmImageForConditionalGeneration , GlmImageProcessor
3131
3232
@@ -86,8 +86,7 @@ def get_dummy_components(self):
8686 torch .manual_seed (0 )
8787 vision_language_encoder = GlmImageForConditionalGeneration (glm_config )
8888
89- # TODO: move to a public checkpoint
90- processor = GlmImageProcessor .from_pretrained ("ZP2Test/GLM-Image" , subfolder = "processor" )
89+ processor = GlmImageProcessor .from_pretrained ("zai-org/GLM-Image" , subfolder = "processor" )
9190
9291 torch .manual_seed (0 )
9392 # For GLM-Image, the relationship between components must satisfy:
You can’t perform that action at this time.
0 commit comments