|
11 | 11 | { |
12 | 12 | "Name": "StableDiffusion 1.5", |
13 | 13 | "IsEnabled": true, |
14 | | - "PadTokenId": 49407, |
15 | | - "BlankTokenId": 49407, |
16 | | - "TokenizerLimit": 77, |
17 | | - "TokenizerLength": 768, |
18 | | - "TokenizerType": "One", |
19 | | - "ScaleFactor": 0.18215, |
20 | 14 | "SampleSize": 512, |
21 | 15 | "PipelineType": "StableDiffusion", |
22 | 16 | "Diffusers": [ |
|
29 | 23 | "IntraOpNumThreads": 0, |
30 | 24 | "ExecutionMode": "ORT_SEQUENTIAL", |
31 | 25 | "ExecutionProvider": "DirectML", |
32 | | - "ModelConfigurations": [ |
33 | | - { |
34 | | - "Type": "Tokenizer", |
35 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\cliptokenizer.onnx" |
36 | | - }, |
37 | | - { |
38 | | - "Type": "Unet", |
39 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\unet\\model.onnx" |
40 | | - }, |
41 | | - { |
42 | | - "Type": "TextEncoder", |
43 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\text_encoder\\model.onnx" |
44 | | - }, |
45 | | - { |
46 | | - "Type": "VaeEncoder", |
47 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\vae_encoder\\model.onnx" |
48 | | - }, |
49 | | - { |
50 | | - "Type": "VaeDecoder", |
51 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\vae_decoder\\model.onnx" |
52 | | - } |
53 | | - ] |
| 26 | + "TokenizerConfig": { |
| 27 | + "PadTokenId": 49407, |
| 28 | + "BlankTokenId": 49407, |
| 29 | + "TokenizerLimit": 77, |
| 30 | + "TokenizerLength": 768, |
| 31 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\cliptokenizer.onnx" |
| 32 | + }, |
| 33 | + "TextEncoderConfig": { |
| 34 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\text_encoder\\model.onnx" |
| 35 | + }, |
| 36 | + "UnetConfig": { |
| 37 | + "ModelType": "Base", |
| 38 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\unet\\model.onnx" |
| 39 | + }, |
| 40 | + "VaeDecoderConfig": { |
| 41 | + "ScaleFactor": 0.18215, |
| 42 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\vae_decoder\\model.onnx" |
| 43 | + }, |
| 44 | + "VaeEncoderConfig": { |
| 45 | + "ScaleFactor": 0.18215, |
| 46 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\vae_encoder\\model.onnx" |
| 47 | + } |
54 | 48 | }, |
55 | 49 | { |
56 | 50 | "Name": "LCM-Dreamshaper-V7", |
57 | 51 | "IsEnabled": true, |
58 | | - "PadTokenId": 49407, |
59 | | - "BlankTokenId": 49407, |
60 | | - "TokenizerLimit": 77, |
61 | | - "TokenizerLength": 768, |
62 | | - "TokenizerType": "One", |
63 | | - "ScaleFactor": 0.18215, |
64 | 52 | "SampleSize": 512, |
65 | 53 | "PipelineType": "LatentConsistency", |
66 | 54 | "Diffusers": [ |
67 | 55 | "TextToImage", |
68 | | - "ImageToImage" |
69 | | - ], |
70 | | - "DeviceId": 0, |
71 | | - "InterOpNumThreads": 0, |
72 | | - "IntraOpNumThreads": 0, |
73 | | - "ExecutionMode": "ORT_SEQUENTIAL", |
74 | | - "ExecutionProvider": "DirectML", |
75 | | - "ModelConfigurations": [ |
76 | | - { |
77 | | - "Type": "Tokenizer", |
78 | | - "OnnxModelPath": "D:\\Repositories\\LCM-Dreamshaper-V7-ONNX\\tokenizer\\model.onnx" |
79 | | - }, |
80 | | - { |
81 | | - "Type": "Unet", |
82 | | - "OnnxModelPath": "D:\\Repositories\\LCM-Dreamshaper-V7-ONNX\\unet\\model.onnx" |
83 | | - }, |
84 | | - { |
85 | | - "Type": "TextEncoder", |
86 | | - "OnnxModelPath": "D:\\Repositories\\LCM-Dreamshaper-V7-ONNX\\text_encoder\\model.onnx" |
87 | | - }, |
88 | | - { |
89 | | - "Type": "VaeEncoder", |
90 | | - "OnnxModelPath": "D:\\Repositories\\LCM-Dreamshaper-V7-ONNX\\vae_encoder\\model.onnx" |
91 | | - }, |
92 | | - { |
93 | | - "Type": "VaeDecoder", |
94 | | - "OnnxModelPath": "D:\\Repositories\\LCM-Dreamshaper-V7-ONNX\\vae_decoder\\model.onnx" |
95 | | - } |
96 | | - ] |
97 | | - }, |
98 | | - { |
99 | | - "Name": "InstaFlow", |
100 | | - "IsEnabled": true, |
101 | | - "PadTokenId": 49407, |
102 | | - "BlankTokenId": 49407, |
103 | | - "TokenizerLimit": 77, |
104 | | - "TokenizerLength": 768, |
105 | | - "TokenizerType": "One", |
106 | | - "ScaleFactor": 0.18215, |
107 | | - "SampleSize": 512, |
108 | | - "PipelineType": "InstaFlow", |
109 | | - "Diffusers": [ |
110 | | - "TextToImage" |
| 56 | + "ImageToImage", |
| 57 | + "ImageInpaintLegacy" |
111 | 58 | ], |
112 | 59 | "DeviceId": 0, |
113 | 60 | "InterOpNumThreads": 0, |
114 | 61 | "IntraOpNumThreads": 0, |
115 | 62 | "ExecutionMode": "ORT_SEQUENTIAL", |
116 | 63 | "ExecutionProvider": "DirectML", |
117 | | - "ModelConfigurations": [ |
118 | | - { |
119 | | - "Type": "Tokenizer", |
120 | | - "OnnxModelPath": "D:\\Repositories\\InstaFlow-0.9B-ONNX\\tokenizer\\model.onnx" |
121 | | - }, |
122 | | - { |
123 | | - "Type": "Unet", |
124 | | - "OnnxModelPath": "D:\\Repositories\\InstaFlow-0.9B-ONNX\\unet\\model.onnx" |
125 | | - }, |
126 | | - { |
127 | | - "Type": "TextEncoder", |
128 | | - "OnnxModelPath": "D:\\Repositories\\InstaFlow-0.9B-ONNX\\text_encoder\\model.onnx" |
129 | | - }, |
130 | | - { |
131 | | - "Type": "VaeEncoder", |
132 | | - "OnnxModelPath": "D:\\Repositories\\InstaFlow-0.9B-ONNX\\vae_encoder\\model.onnx" |
133 | | - }, |
134 | | - { |
135 | | - "Type": "VaeDecoder", |
136 | | - "OnnxModelPath": "D:\\Repositories\\InstaFlow-0.9B-ONNX\\vae_decoder\\model.onnx" |
137 | | - } |
138 | | - ] |
| 64 | + "TokenizerConfig": { |
| 65 | + "PadTokenId": 49407, |
| 66 | + "BlankTokenId": 49407, |
| 67 | + "TokenizerLimit": 77, |
| 68 | + "TokenizerLength": 768, |
| 69 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\cliptokenizer.onnx" |
| 70 | + }, |
| 71 | + "TextEncoderConfig": { |
| 72 | + "OnnxModelPath": "D:\\Repositories\\lcm-dreamshaper-v7-f16\\text_encoder\\model.onnx" |
| 73 | + }, |
| 74 | + "UnetConfig": { |
| 75 | + "ModelType": "Base", |
| 76 | + "OnnxModelPath": "D:\\Repositories\\lcm-dreamshaper-v7-f16\\unet\\model.onnx" |
| 77 | + }, |
| 78 | + "VaeDecoderConfig": { |
| 79 | + "ScaleFactor": 0.18215, |
| 80 | + "OnnxModelPath": "D:\\Repositories\\lcm-dreamshaper-v7-f16\\vae_decoder\\model.onnx" |
| 81 | + }, |
| 82 | + "VaeEncoderConfig": { |
| 83 | + "ScaleFactor": 0.18215, |
| 84 | + "OnnxModelPath": "D:\\Repositories\\lcm-dreamshaper-v7-f16\\vae_encoder\\model.onnx" |
| 85 | + } |
139 | 86 | }, |
140 | 87 | { |
141 | 88 | "Name": "Stable Diffusion XL", |
142 | 89 | "IsEnabled": true, |
143 | | - "PadTokenId": 1, |
144 | | - "BlankTokenId": 49407, |
145 | | - "TokenizerLimit": 77, |
146 | | - "TokenizerLength": 768, |
147 | | - "Tokenizer2Length": 1280, |
148 | | - "TokenizerType": "Both", |
149 | | - "ScaleFactor": 0.13025, |
150 | 90 | "SampleSize": 1024, |
151 | 91 | "PipelineType": "StableDiffusionXL", |
152 | 92 | "Diffusers": [ |
153 | | - "TextToImage" |
| 93 | + "TextToImage", |
| 94 | + "ImageToImage", |
| 95 | + "ImageInpaintLegacy" |
154 | 96 | ], |
155 | 97 | "DeviceId": 0, |
156 | 98 | "InterOpNumThreads": 0, |
157 | 99 | "IntraOpNumThreads": 0, |
158 | 100 | "ExecutionMode": "ORT_SEQUENTIAL", |
159 | 101 | "ExecutionProvider": "DirectML", |
160 | | - "ModelConfigurations": [ |
161 | | - { |
162 | | - "Type": "Tokenizer", |
163 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\tokenizer\\model.onnx" |
164 | | - }, |
165 | | - { |
166 | | - "Type": "Tokenizer2", |
167 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\tokenizer_2\\model.onnx" |
168 | | - }, |
169 | | - { |
170 | | - "Type": "Unet", |
171 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\unet\\model.onnx" |
172 | | - }, |
173 | | - { |
174 | | - "Type": "TextEncoder", |
175 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\text_encoder\\model.onnx" |
176 | | - }, |
177 | | - { |
178 | | - "Type": "TextEncoder2", |
179 | | - "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\text_encoder_2\\model.onnx" |
180 | | - }, |
181 | | - { |
182 | | - "Type": "VaeEncoder", |
183 | | - "OnnxModelPath": "D:\\Repositories\\dreamshaper-xl-1-0-Olive-Onnx\\vae_encoder\\model.onnx" |
184 | | - }, |
185 | | - { |
186 | | - "Type": "VaeDecoder", |
187 | | - "OnnxModelPath": "D:\\Repositories\\dreamshaper-xl-1-0-Olive-Onnx\\vae_decoder\\model.onnx" |
188 | | - } |
189 | | - ] |
| 102 | + "TokenizerConfig": { |
| 103 | + "PadTokenId": 49407, |
| 104 | + "BlankTokenId": 49407, |
| 105 | + "TokenizerLimit": 77, |
| 106 | + "TokenizerLength": 768, |
| 107 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\cliptokenizer.onnx" |
| 108 | + }, |
| 109 | + "Tokenizer2Config": { |
| 110 | + "PadTokenId": 1, |
| 111 | + "BlankTokenId": 49407, |
| 112 | + "TokenizerLimit": 77, |
| 113 | + "TokenizerLength": 1280, |
| 114 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-v1-5\\cliptokenizer.onnx" |
| 115 | + }, |
| 116 | + "TextEncoderConfig": { |
| 117 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\text_encoder\\model.onnx" |
| 118 | + }, |
| 119 | + "TextEncoder2Config": { |
| 120 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\text_encoder_2\\model.onnx" |
| 121 | + }, |
| 122 | + "UnetConfig": { |
| 123 | + "ModelType": "Base", |
| 124 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\unet\\model.onnx" |
| 125 | + }, |
| 126 | + "VaeDecoderConfig": { |
| 127 | + "ScaleFactor": 0.13025, |
| 128 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\vae_decoder\\model.onnx" |
| 129 | + }, |
| 130 | + "VaeEncoderConfig": { |
| 131 | + "ScaleFactor": 0.13025, |
| 132 | + "OnnxModelPath": "D:\\Repositories\\stable-diffusion-xl-base-1.0-Olive-Onnx\\vae_encoder\\model.onnx" |
| 133 | + } |
190 | 134 | } |
191 | 135 | ] |
192 | 136 | }, |
|
203 | 147 | "IntraOpNumThreads": 0, |
204 | 148 | "ExecutionMode": "ORT_SEQUENTIAL", |
205 | 149 | "ExecutionProvider": "DirectML", |
206 | | - "ModelConfigurations": [ |
207 | | - { |
208 | | - "Type": "Upscaler", |
209 | | - "OnnxModelPath": "D:\\Repositories\\upscaler\\SwinIR\\003_realSR_BSRGAN_DFO_s64w8_SwinIR-M_x4_GAN.onnx" |
210 | | - } |
211 | | - ] |
| 150 | + "UpscaleModelConfig": { |
| 151 | + "OnnxModelPath": "D:\\Repositories\\upscaler\\SwinIR\\003_realSR_BSRGAN_DFO_s64w8_SwinIR-M_x4_GAN.onnx" |
| 152 | + } |
212 | 153 | } |
213 | 154 | ] |
214 | 155 | } |
|
0 commit comments