Diffusers
sayakpaul HF Staff commited on
Commit
c600e5f
·
verified ·
1 Parent(s): fadec0f

Upload QwenImageModularPipeline

Browse files
Files changed (1) hide show
  1. modular_model_index.json +16 -17
modular_model_index.json CHANGED
@@ -2,8 +2,22 @@
2
  "_blocks_class_name": "SequentialPipelineBlocks",
3
  "_class_name": "QwenImageModularPipeline",
4
  "_diffusers_version": "0.36.0.dev0",
5
- "prompt_template_encode": "<|im_start|>system\nDescribe the image by detailing the color, shape, size, texture, quantity, text, spatial relationships of the objects and background:<|im_end|>\n<|im_start|>user\n{}<|im_end|>\n<|im_start|>assistant\n",
6
- "prompt_template_encode_start_idx": 34,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  "scheduler": [
8
  "diffusers",
9
  "FlowMatchEulerDiscreteScheduler",
@@ -32,21 +46,6 @@
32
  "variant": null
33
  }
34
  ],
35
- "tokenizer": [
36
- "transformers",
37
- "Qwen2Tokenizer",
38
- {
39
- "repo": "hf-internal-testing/tiny-qwenimage-edit-pipe",
40
- "revision": null,
41
- "subfolder": "tokenizer",
42
- "type_hint": [
43
- "transformers",
44
- "Qwen2Tokenizer"
45
- ],
46
- "variant": null
47
- }
48
- ],
49
- "tokenizer_max_length": 1024,
50
  "transformer": [
51
  "diffusers",
52
  "QwenImageTransformer2DModel",
 
2
  "_blocks_class_name": "SequentialPipelineBlocks",
3
  "_class_name": "QwenImageModularPipeline",
4
  "_diffusers_version": "0.36.0.dev0",
5
+ "processor": [
6
+ "transformers",
7
+ "Qwen2VLProcessor",
8
+ {
9
+ "repo": "hf-internal-testing/tiny-qwenimage-edit-pipe",
10
+ "revision": null,
11
+ "subfolder": "processor",
12
+ "type_hint": [
13
+ "transformers",
14
+ "Qwen2VLProcessor"
15
+ ],
16
+ "variant": null
17
+ }
18
+ ],
19
+ "prompt_template_encode": "<|im_start|>system\nDescribe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate.<|im_end|>\n<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>{}<|im_end|>\n<|im_start|>assistant\n",
20
+ "prompt_template_encode_start_idx": 64,
21
  "scheduler": [
22
  "diffusers",
23
  "FlowMatchEulerDiscreteScheduler",
 
46
  "variant": null
47
  }
48
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  "transformer": [
50
  "diffusers",
51
  "QwenImageTransformer2DModel",