forked from microsoft/Olive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patholive_config.json
More file actions
642 lines (642 loc) · 28.8 KB
/
olive_config.json
File metadata and controls
642 lines (642 loc) · 28.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
{
"passes": {
"AddOliveMetadata": {
"module_path": "olive.passes.onnx.add_metadata.AddOliveMetadata",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"AimetQuantization": {
"module_path": "olive.passes.onnx.aimet_quantization.AimetQuantization",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "int4", "int8", "int16" ],
"supported_algorithms": [ "lpbq", "seqmse", "adaround" ],
"supported_quantization_encodings": [ "qdq" ],
"extra_dependencies": [ "aimet-onnx" ],
"dataset": "dataset_required"
},
"AutoAWQQuantizer": {
"module_path": "olive.passes.pytorch.autoawq.AutoAWQQuantizer",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "int4", "int8", "int16", "uint4", "uint8", "uint16" ],
"supported_algorithms": [ "awq" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional",
"module_dependencies": [ "autoawq" ]
},
"CaptureSplitInfo": {
"module_path": "olive.passes.pytorch.capture_split_info.CaptureSplitInfo",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"ComposeOnnxModels": {
"module_path": "olive.passes.onnx.compose.ComposeOnnxModels",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"DoRA": {
"module_path": "olive.passes.pytorch.lora.DoRA",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"extra_dependencies": [ "bnb", "lora" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"DynamicToFixedShape": {
"module_path": "olive.passes.onnx.dynamic_to_fixed_shape.DynamicToFixedShape",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"EPContextBinaryGenerator": {
"module_path": "olive.passes.onnx.context_binary.EPContextBinaryGenerator",
"supported_providers": [ "QNNExecutionProvider" ],
"supported_accelerators": [ "npu" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"run_on_target": true
},
"ExtractAdapters": {
"module_path": "olive.passes.onnx.extract_adapters.ExtractAdapters",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"Gptq": {
"module_path": "olive.passes.pytorch.gptq.Gptq",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "int4", "int8", "uint4", "uint8" ],
"supported_algorithms": [ "gptq", "quarot", "spinquant" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional"
},
"GptqQuantizer": {
"module_path": "olive.passes.pytorch.autogptq.GptqQuantizer",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "int4", "int8", "int16", "uint4", "uint8", "uint16" ],
"supported_algorithms": [ "gptq", "quarot", "spinquant" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional",
"module_dependencies": [ "auto-gptq", "optimum" ]
},
"GptqModel": {
"module_path": "olive.passes.pytorch.gptqmodel.GptqModel",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "int4", "int8", "int16", "uint4", "uint8", "uint16" ],
"supported_algorithms": [ "gptq", "quarot", "spinquant" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional",
"module_dependencies": [ "gptqmodel", "optimum" ]
},
"GraphSurgeries": {
"module_path": "olive.passes.onnx.graph_surgeries.GraphSurgeries",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"IncDynamicQuantization": {
"module_path": "olive.passes.onnx.inc_quantization.IncDynamicQuantization",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "int4", "int8" ],
"supported_algorithms": [ "gptq" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_not_required",
"extra_dependencies": [ "inc" ],
"run_on_target": true
},
"IncQuantization": {
"module_path": "olive.passes.onnx.inc_quantization.IncQuantization",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "int4", "int8" ],
"supported_algrithms": [ "gptq" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional",
"extra_dependencies": [ "inc" ],
"run_on_target": true
},
"IncStaticQuantization": {
"module_path": "olive.passes.onnx.inc_quantization.IncStaticQuantization",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "int4", "int8" ],
"supported_algorithms": [ "gptq" ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "inc" ],
"dataset": "dataset_required",
"run_on_target": true
},
"InputNCHWtoNHWC": {
"module_path": "olive.passes.onnx.vitis_ai.preprocess.InputNCHWtoNHWC",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"MatMulNBitsToQDQ": {
"module_path": "olive.passes.onnx.mnb_to_qdq.MatMulNBitsToQDQ",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ "qdq" ]
},
"MergeAdapterWeights": {
"module_path": "olive.passes.pytorch.merge_adapter_weights.MergeAdapterWeights",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"MixedPrecisionOverrides": {
"module_path": "olive.passes.onnx.mixed_precision_overrides.MixedPrecisionOverrides",
"supported_providers": [ "QNNExecutionProvider" ],
"supported_accelerators": [ "npu" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"ModelBuilder": {
"module_path": "olive.passes.onnx.model_builder.ModelBuilder",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "int4", "int8", "fp16", "fp32" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"MoEExpertsDistributor": {
"module_path": "olive.passes.onnx.moe_experts_distributor.MoEExpertsDistributor",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"LoftQ": {
"module_path": "olive.passes.pytorch.lora.LoftQ",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"LoHa": {
"module_path": "olive.passes.pytorch.lora.LoHa",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"extra_dependencies": [ "lora" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"LoKr": {
"module_path": "olive.passes.pytorch.lora.LoKr",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"extra_dependencies": [ "lora" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"LoRA": {
"module_path": "olive.passes.pytorch.lora.LoRA",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"extra_dependencies": [ "lora" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"NVModelOptQuantization": {
"module_path": "olive.passes.onnx.nvmo_quantization.NVModelOptQuantization",
"supported_providers": [ "CUDAExecutionProvider" ],
"supported_accelerators": [ "gpu" ],
"supported_precisions": [ "int4", "int8", "fp8" ],
"supported_algorithms": [ "awq" ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "nvmo" ]
},
"OnnxBlockWiseRtnQuantization": {
"module_path": "olive.passes.onnx.rtn_quantization.OnnxBlockWiseRtnQuantization",
"supported_providers": [ "CPUExecutionProvider", "CUDAExecutionProvider", "DmlExecutionProvider" ],
"supported_accelerators": [ "cpu", "gpu" ],
"supported_precisions": [ "int4" ],
"supported_algorithms": [ "rtn" ],
"supported_quantization_encodings": [ ]
},
"OnnxBnb4Quantization": {
"module_path": "olive.passes.onnx.bnb_quantization.OnnxBnb4Quantization",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "fp4", "nf4" ],
"supported_algorithms": [ "rtn" ],
"supported_quantization_encodings": [ ]
},
"OnnxConversion": {
"module_path": "olive.passes.onnx.conversion.OnnxConversion",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional"
},
"OnnxDynamicQuantization": {
"module_path": "olive.passes.onnx.quantization.OnnxDynamicQuantization",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "int8", "uint8" ],
"supported_algorithms": [ "rtn" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_not_required"
},
"OnnxFloatToFloat16": {
"module_path": "olive.passes.onnx.float16_conversion.OnnxFloatToFloat16",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "fp16" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"OnnxIODataTypeConverter": {
"module_path": "olive.passes.onnx.io_datatype_converter.OnnxIODataTypeConverter",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"OnnxHqqQuantization": {
"module_path": "olive.passes.onnx.hqq_quantization.OnnxHqqQuantization",
"supported_providers": [ "CPUExecutionProvider", "CUDAExecutionProvider", "DmlExecutionProvider" ],
"supported_accelerators": [ "cpu", "gpu" ],
"supported_precisions": [ "int4" ],
"supported_algorithms": [ "hqq" ],
"supported_quantization_encodings": [ ]
},
"OnnxOpVersionConversion": {
"module_path": "olive.passes.onnx.conversion.OnnxOpVersionConversion",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"OnnxPeepholeOptimizer": {
"module_path": "olive.passes.onnx.peephole_optimizer.OnnxPeepholeOptimizer",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "onnxoptimizer", "onnxscript" ]
},
"OnnxQuantization": {
"module_path": "olive.passes.onnx.quantization.OnnxQuantization",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "int8" ],
"supported_algorithms": [ "rtn" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional"
},
"OnnxQuantizationPreprocess": {
"module_path": "olive.passes.onnx.quantization.OnnxQuantizationPreprocess",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"OnnxScriptFusion": {
"module_path": "olive.passes.onnx.onnxscript_fusion.OnnxScriptFusion",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"OnnxStaticQuantization": {
"module_path": "olive.passes.onnx.quantization.OnnxStaticQuantization",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "int8", "int16", "uint8", "uint16" ],
"supported_algorithms": [ "rtn" ],
"supported_quantization_encodings": [ "qdq" ],
"dataset": "dataset_required"
},
"OpenVINOConversion": {
"module_path": "olive.passes.openvino.conversion.OpenVINOConversion",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "openvino" ]
},
"OpenVINOEncapsulation": {
"module_path": "olive.passes.openvino.encapsulation.OpenVINOEncapsulation",
"supported_providers": [ "OpenVINOExecutionProvider" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "openvino" ]
},
"OpenVINOIoUpdate": {
"module_path": "olive.passes.openvino.io_update.OpenVINOIoUpdate",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "openvino" ]
},
"OpenVINOOptimumConversion": {
"module_path": "olive.passes.openvino.optimum_intel.OpenVINOOptimumConversion",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "openvino" ]
},
"OpenVINOQuantization": {
"module_path": "olive.passes.openvino.quantization.OpenVINOQuantization",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "openvino" ]
},
"OpenVINOQuantizationWithAccuracy": {
"module_path": "olive.passes.openvino.quantization.OpenVINOQuantizationWithAccuracy",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "openvino" ]
},
"OpenVINOWeightCompression": {
"module_path": "olive.passes.openvino.compression.OpenVINOWeightCompression",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "openvino" ]
},
"OptimumConversion": {
"module_path": "olive.passes.onnx.optimum_conversion.OptimumConversion",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"extra_dependencies": [ "optimum" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"OptimumMerging": {
"module_path": "olive.passes.onnx.optimum_merging.OptimumMerging",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"extra_dependencies": [ "optimum" ],
"run_on_target": true
},
"OrtMixedPrecision": {
"module_path": "olive.passes.onnx.mixed_precision.OrtMixedPrecision",
"supported_providers": [ "CUDAExecutionProvider", "DmlExecutionProvider" ],
"supported_accelerators": [ "gpu", "npu" ],
"supported_precisions": [ "fp16" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"OrtSessionParamsTuning": {
"module_path": "olive.passes.onnx.session_params_tuning.OrtSessionParamsTuning",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"module_dependencies": [ "psutil" ],
"run_on_target": true
},
"OrtTransformersOptimization": {
"module_path": "olive.passes.onnx.transformer_optimization.OrtTransformersOptimization",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"PyTorchTensorParallel": {
"module_path": "olive.passes.pytorch.tensor_parallel.PyTorchTensorParallel",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"QairtMHA2SHA": {
"module_path": "olive.passes.onnx.qairt.mha2sha.QairtMHA2SHA",
"supported_providers": [ "QNNExecutionProvider" ],
"supported_accelerators": [ "npu" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"QLoRA": {
"module_path": "olive.passes.pytorch.lora.QLoRA",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"extra_dependencies": [ "bnb", "lora" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"dataset": "dataset"
},
"QNNContextBinaryGenerator": {
"module_path": "olive.passes.qnn.context_binary_generator.QNNContextBinaryGenerator",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"QNNConversion": {
"module_path": "olive.passes.qnn.conversion.QNNConversion",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"QNNModelLibGenerator": {
"module_path": "olive.passes.qnn.model_lib_generator.QNNModelLibGenerator",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"QNNPreprocess": {
"module_path": "olive.passes.onnx.qnn.qnn_preprocess.QNNPreprocess",
"supported_providers": [ "QNNExecutionProvider" ],
"supported_accelerators": [ "npu" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"QuarkQuantization": {
"module_path": "olive.passes.quark_quantizer.quark_quantization.QuarkQuantization",
"supported_providers": [ "CPUExecutionProvider", "ROCMExecutionProvider", "CUDAExecutionProvider" ],
"supported_accelerators": [ "cpu", "gpu" ],
"supported_precisions": [ "fp16", "fp32" ],
"supported_algorithms": [ "awq" ],
"supported_quantization_encodings": [ ],
"run_on_target": true,
"extra_dependencies": [ "amd-quark" ]
},
"QuaRot": {
"module_path": "olive.passes.pytorch.rotate.QuaRot",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ "quarot" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional"
},
"SelectiveMixedPrecision": {
"module_path": "olive.passes.pytorch.selective_mixed_precision.SelectiveMixedPrecision",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"SliceGPT": {
"module_path": "olive.passes.pytorch.slicegpt.SliceGPT",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"SparseGPT": {
"module_path": "olive.passes.pytorch.sparsegpt.SparseGPT",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"SpinQuant": {
"module_path": "olive.passes.pytorch.rotate.SpinQuant",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ "spinquant" ],
"supported_quantization_encodings": [ ],
"dataset": "dataset_optional"
},
"SplitModel": {
"module_path": "olive.passes.onnx.split.SplitModel",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"StaticLLM": {
"module_path": "olive.passes.onnx.static_llm.StaticLLM",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"TorchTRTConversion": {
"module_path": "olive.passes.pytorch.torch_trt_conversion.TorchTRTConversion",
"supported_providers": [ "*" ],
"supported_accelerators": [ "*" ],
"supported_precisions": [ "*" ],
"extra_dependencies": [ "torch-tensorrt" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"VitisAIAddMetaData": {
"module_path": "olive.passes.onnx.vitis_ai.meta_data.VitisAIAddMetaData",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "*" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ]
},
"VitisGenerateModelLLM": {
"module_path": "olive.passes.onnx.vitis_ai.vitis_generate_model_llm.VitisGenerateModelLLM",
"supported_providers": [ "CPUExecutionProvider" ],
"supported_accelerators": [ "cpu" ],
"supported_precisions": [ "int8" ],
"supported_algorithms": [ ],
"supported_quantization_encodings": [ ],
"run_on_target": true
}
},
"extra_dependencies": {
"aimet-onnx": [ "aimet-onnx>=2.15.0" ],
"auto-opt": [ "optimum" ],
"azureml": [ "azure-ai-ml>=1.11.1", "azure-identity" ],
"bnb": [ "bitsandbytes", "triton" ],
"capture-onnx-graph": [ "optimum" ],
"cpu": [ "onnxruntime" ],
"directml": [ "onnxruntime-directml" ],
"docker": [ "docker" ],
"shared-cache": [ "azure-identity", "azure-storage-blob" ],
"finetune": [ "optimum", "accelerate>=0.30.0", "peft", "scipy", "bitsandbytes", "triton" ],
"flash-attn": [ "flash_attn" ],
"gpu": [ "onnxruntime-gpu" ],
"inc": [ "neural-compressor" ],
"lora": [ "accelerate>=0.30.0", "peft", "scipy" ],
"nvmo": [ "nvidia-modelopt[onnx]" ],
"openvino": [
"openvino>=2025.3.0",
"nncf>=2.18.0",
"numpy<2.0",
"optimum[openvino]<=1.24",
"onnxruntime-openvino"
],
"optimum": [ "optimum" ],
"qnn": [ "onnxruntime-qnn" ],
"tf": [ "tensorflow==1.15.0" ],
"torch-tensorrt": [ "torch-tensorrt" ],
"tune-session-params": [ "psutil" ]
}
}