@@ -158,45 +158,43 @@ Each model can be assigned to its own device, which is handy if you have only a
158158 "TokenizerLimit" : 77 ,
159159 "EmbeddingsLength" : 768 ,
160160 "ScaleFactor" : 0.18215 ,
161- "ModelConfigurations" : [
162- {
163- "Type" : " Unet" ,
164- "DeviceId" : 0 ,
165- "ExecutionProvider" : " DirectML" ,
166- "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ unet\\ model.onnx"
167- },
168- {
169- "Type" : " Tokenizer" ,
170- "DeviceId" : 0 ,
171- "ExecutionProvider" : " Cpu" ,
172- "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ cliptokenizer.onnx"
173- },
174- {
175- "Type" : " TextEncoder" ,
176- "DeviceId" : 0 ,
177- "ExecutionProvider" : " Cpu" ,
178- "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ text_encoder\\ model.onnx"
179- },
180- {
181- "Type" : " VaeEncoder" ,
182- "DeviceId" : 0 ,
183- "ExecutionProvider" : " Cpu" ,
184- "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ vae_encoder\\ model.onnx"
185- },
186- {
187- "Type" : " VaeDecoder" ,
188- "DeviceId" : 0 ,
189- "ExecutionProvider" : " Cpu" ,
190- "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ vae_decoder\\ model.onnx"
191- },
192- {
193- "Type" : " SafetyChecker" ,
194- "IsDisabled" : true ,
195- "DeviceId" : 0 ,
196- "ExecutionProvider" : " Cpu" ,
197- "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ safety_checker\\ model.onnx"
198- }
199- ]
161+ "ModelConfigurations" : [{
162+ "Type" : " Unet" ,
163+ "DeviceId" : 0 ,
164+ "ExecutionProvider" : " DirectML" ,
165+ "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ unet\\ model.onnx"
166+ },
167+ {
168+ "Type" : " Tokenizer" ,
169+ "DeviceId" : 0 ,
170+ "ExecutionProvider" : " Cpu" ,
171+ "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ cliptokenizer.onnx"
172+ },
173+ {
174+ "Type" : " TextEncoder" ,
175+ "DeviceId" : 0 ,
176+ "ExecutionProvider" : " Cpu" ,
177+ "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ text_encoder\\ model.onnx"
178+ },
179+ {
180+ "Type" : " VaeEncoder" ,
181+ "DeviceId" : 0 ,
182+ "ExecutionProvider" : " Cpu" ,
183+ "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ vae_encoder\\ model.onnx"
184+ },
185+ {
186+ "Type" : " VaeDecoder" ,
187+ "DeviceId" : 0 ,
188+ "ExecutionProvider" : " Cpu" ,
189+ "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ vae_decoder\\ model.onnx"
190+ },
191+ {
192+ "Type" : " SafetyChecker" ,
193+ "IsDisabled" : true ,
194+ "DeviceId" : 0 ,
195+ "ExecutionProvider" : " Cpu" ,
196+ "OnnxModelPath" : " D:\\ Repositories\\ stable-diffusion-v1-5\\ safety_checker\\ model.onnx"
197+ }]
200198 }
201199}
202200```
0 commit comments