File tree
804 files changed
+13496
-784
lines changed- latest
- _sources/autoapi/neural_compressor/tensorflow
- algorithms/static_quant
- tensorflow
- keras
- layers
- conv2d
- dense
- depthwise_conv2d
- pool2d
- quantizer
- separable_conv2d
- quantization
- config
- quantization
- algorithm_entry
- autotune
- config
- quantize
- utils
- graph_converter
- graph_converter_without_calib
- graph_rewriter
- bf16
- bf16_convert
- dequantize_cast_optimizer
- int8
- freeze_fake_quant
- freeze_value
- freeze_value_without_calib
- fuse_conv_redundant_dequantize
- fuse_conv_requantize
- fuse_matmul_redundant_dequantize
- fuse_matmul_requantize
- meta_op_optimizer
- post_hostconst_converter
- post_quantized_op_cse
- rnn_convert
- scale_propagation
- qdq
- insert_qdq_pattern
- merge_duplicated_qdq
- quantize_graph
- qat
- fake_quantize
- quantize_config
- quantize_helper
- quantize_layers
- optimize_layer
- quantize_layer_add
- quantize_layer_base
- quantize_layer_bn
- quantize_wrapper
- qdq
- fuse_qdq_bn
- fuse_qdq_concatv2
- fuse_qdq_conv
- fuse_qdq_deconv
- fuse_qdq_in
- fuse_qdq_matmul
- fuse_qdq_pooling
- optimize_qdq
- quantize_graph_base
- quantize_graph_bn
- quantize_graph_concatv2
- quantize_graph_conv
- quantize_graph_for_intel_cpu
- quantize_graph_matmul
- quantize_graph_pooling
- transform_graph
- bias_correction
- graph_transform_base
- insert_logging
- rerange_quantized_concat
- autoapi
- block_mask
- neural_compressor
- adaptor
- adaptor
- keras
- keras_utils
- conv2d
- dense
- depthwise_conv2d
- pool2d
- quantizer
- separable_conv2d
- mxnet
- mxnet_utils
- util
- onnxrt
- ox_utils
- calibration
- calibrator
- operators
- activation
- argmax
- attention
- binary_op
- concat
- conv
- direct_q8
- embed_layernorm
- gather
- gavgpool
- gemm
- lstm
- matmul
- maxpool
- norm
- ops
- pad
- pooling
- reduce
- resize
- split
- unary_op
- quantizer
- smooth_quant
- util
- weight_only
- pytorch
- query
- tensorflow
- tf_utils
- graph_converter
- graph_converter_without_calib
- graph_rewriter
- bf16
- bf16_convert
- dequantize_cast_optimizer
- generic
- convert_add_to_biasadd
- convert_layout
- convert_leakyrelu
- convert_nan_to_random
- convert_placeholder_to_const
- dilated_contraction
- dummy_biasadd
- expanddims_optimizer
- fetch_weight_from_reshape
- fold_batch_norm
- fold_constant
- fuse_biasadd_add
- fuse_column_wise_mul
- fuse_conv_with_math
- fuse_decomposed_bn
- fuse_decomposed_in
- fuse_gelu
- fuse_layer_norm
- fuse_pad_with_conv
- fuse_pad_with_fp32_conv
- fuse_reshape_transpose
- graph_cse_optimizer
- grappler_pass
- insert_print_node
- move_squeeze_after_relu
- pre_optimize
- remove_training_nodes
- rename_batch_norm
- strip_equivalent_nodes
- strip_unused_nodes
- switch_optimizer
- graph_base
- int8
- freeze_fake_quant
- freeze_value
- freeze_value_without_calib
- fuse_conv_redundant_dequantize
- fuse_conv_requantize
- fuse_matmul_redundant_dequantize
- fuse_matmul_requantize
- meta_op_optimizer
- post_hostconst_converter
- post_quantized_op_cse
- rnn_convert
- scale_propagation
- onnx
- onnx_graph
- onnx_node
- onnx_schema
- tf2onnx_utils
- qdq
- insert_qdq_pattern
- merge_duplicated_qdq
- graph_util
- quantize_graph
- qat
- fake_quantize
- quantize_config
- quantize_helper
- quantize_layers
- optimize_layer
- quantize_layer_add
- quantize_layer_base
- quantize_layer_bn
- quantize_wrapper
- qdq
- fuse_qdq_bn
- fuse_qdq_concatv2
- fuse_qdq_conv
- fuse_qdq_deconv
- fuse_qdq_in
- fuse_qdq_matmul
- fuse_qdq_pooling
- optimize_qdq
- quantize_graph_base
- quantize_graph_bn
- quantize_graph_concatv2
- quantize_graph_conv
- quantize_graph_for_intel_cpu
- quantize_graph_matmul
- quantize_graph_pooling
- quantize_graph_common
- smooth_quant_calibration
- smooth_quant_scaler
- tf2onnx_converter
- transform_graph
- bias_correction
- graph_transform_base
- insert_logging
- rerange_quantized_concat
- util
- torch_utils
- autoround
- autoround
- export
- model_wrapper
- sign_sgd
- awq
- bf16_convert
- gptq
- hawq_metric
- layer_wise_quant
- modified_pickle
- quantize
- torch_load
- utils
- mixed_precision
- model_wrapper
- pattern_detector
- smooth_quant
- symbolic_trace
- teq
- util
- weight_only
- algorithm
- algorithm
- fast_bias_correction
- smooth_quant
- weight_correction
- benchmark
- common
- base_config
- base_tuning
- tuning_param
- utils
- constants
- logger
- utility
- compression
- callbacks
- distillation
- criterions
- optimizers
- utility
- hpo
- sa_optimizer
- search_algorithms
- search_space
- pruner
- criteria
- dsnot
- model_slim
- auto_slim
- pattern_analyzer
- weight_slim
- patterns
- base
- mha
- ninm
- nxm
- pruners
- base
- basic
- block_mask
- mha
- pattern_lock
- progressive
- retrain_free
- sparse_gpt
- pruning
- regs
- schedulers
- tf_criteria
- utils
- wanda
- prune
- utils
- wrapper
- conf
- config
- dotdict
- pythonic_config
- config
- contrib
- strategy
- sigopt
- tpe
- data
- dataloaders
- base_dataloader
- dataloader
- default_dataloader
- fetcher
- mxnet_dataloader
- onnxrt_dataloader
- pytorch_dataloader
- sampler
- tensorflow_dataloader
- datasets
- bert_dataset
- coco_dataset
- dataset
- dummy_dataset
- dummy_dataset_v2
- imagenet_dataset
- style_transfer_dataset
- filters
- coco_filter
- filter
- transforms
- coco_transform
- imagenet_transform
- postprocess
- tokenization
- transform
- experimental
- benchmark
- common
- criterion
- dataloader
- metric
- model
- optimizer
- postprocess
- torch_utils
- component
- compression
- contrib
- strategy
- sigopt
- tpe
- data
- dataloaders
- base_dataloader
- dataloader
- default_dataloader
- fetcher
- mxnet_dataloader
- onnxrt_dataloader
- pytorch_dataloader
- sampler
- tensorflow_dataloader
- datasets
- bert_dataset
- coco_dataset
- dataset
- dummy_dataset
- dummy_dataset_v2
- imagenet_dataset
- style_transfer_dataset
- filters
- coco_filter
- filter
- transforms
- imagenet_transform
- tokenization
- transform
- distillation
- export
- qlinear2qdq
- tf2onnx
- torch2onnx
- graph_optimization
- metric
- bleu
- bleu_util
- coco_label_map
- coco_tools
- evaluate_squad
- f1
- metric
- mixed_precision
- model_conversion
- nas
- basic_nas
- dynas
- nas
- nas_utils
- search_algorithms
- pruner_legacy
- gradient_sensitivity
- group_lasso
- magnitude
- pattern_lock
- pruner
- pruning
- pruning_recipes
- patterns
- pattern
- tile_pattern
- pruning_v2
- pytorch_pruner
- logger
- patterns
- prune_utils
- pruner
- pruning
- scheduler
- quantization
- scheduler
- strategy
- auto_mixed_precision
- basic
- bayesian
- exhaustive
- mse
- mse_v2
- random
- strategy
- utils
- constant
- tuning_sampler
- tuning_space
- tuning_structs
- utility
- metric
- bleu
- bleu_util
- coco_label_map
- coco_tools
- evaluate_squad
- f1
- metric
- mix_precision
- model
- base_model
- keras_model
- model
- mxnet_model
- nets_factory
- onnx_model
- tensorflow_model
- torch_model
- objective
- onnxrt
- algorithms
- smoother
- calibrator
- core
- weight_only
- awq
- gptq
- rtn
- utility
- quantization
- algorithm_entry
- autotune
- calibrate
- config
- quantize
- utils
- onnx_model
- utility
- profiling
- parser
- factory
- onnx_parser
- factory
- parser
- parser
- result
- tensorflow_parser
- factory
- parser
- profiler
- factory
- onnxrt_profiler
- factory
- profiler
- utils
- profiler
- tensorflow_profiler
- factory
- profiler
- utils
- quantization
- strategy
- auto
- auto_mixed_precision
- basic
- bayesian
- conservative
- exhaustive
- hawq_v2
- mse
- mse_v2
- random
- strategy
- utils
- constant
- tuning_sampler
- tuning_space
- tuning_structs
- utility
- template
- api_doc_example
- tensorflow
- algorithms
- smoother
- calibration
- core
- scaler
- static_quant
- keras
- tensorflow
- keras
- layers
- conv2d
- dense
- depthwise_conv2d
- pool2d
- quantizer
- separable_conv2d
- quantization
- config
- quantization
- algorithm_entry
- autotune
- config
- quantize
- utils
- graph_converter
- graph_converter_without_calib
- graph_rewriter
- bf16
- bf16_convert
- dequantize_cast_optimizer
- generic
- convert_add_to_biasadd
- convert_layout
- convert_leakyrelu
- convert_nan_to_random
- convert_placeholder_to_const
- dilated_contraction
- dummy_biasadd
- expanddims_optimizer
- fetch_weight_from_reshape
- fold_batch_norm
- fold_constant
- fuse_biasadd_add
- fuse_column_wise_mul
- fuse_conv_with_math
- fuse_decomposed_bn
- fuse_decomposed_in
- fuse_gelu
- fuse_layer_norm
- fuse_pad_with_conv
- fuse_pad_with_fp32_conv
- fuse_reshape_transpose
- graph_cse_optimizer
- grappler_pass
- insert_print_node
- move_squeeze_after_relu
- pre_optimize
- remove_training_nodes
- rename_batch_norm
- strip_equivalent_nodes
- strip_unused_nodes
- switch_optimizer
- graph_base
- int8
- freeze_fake_quant
- freeze_value
- freeze_value_without_calib
- fuse_conv_redundant_dequantize
- fuse_conv_requantize
- fuse_matmul_redundant_dequantize
- fuse_matmul_requantize
- meta_op_optimizer
- post_hostconst_converter
- post_quantized_op_cse
- rnn_convert
- scale_propagation
- qdq
- insert_qdq_pattern
- merge_duplicated_qdq
- graph_util
- quantize_graph
- qat
- fake_quantize
- quantize_config
- quantize_helper
- quantize_layers
- optimize_layer
- quantize_layer_add
- quantize_layer_base
- quantize_layer_bn
- quantize_wrapper
- qdq
- fuse_qdq_bn
- fuse_qdq_concatv2
- fuse_qdq_conv
- fuse_qdq_deconv
- fuse_qdq_in
- fuse_qdq_matmul
- fuse_qdq_pooling
- optimize_qdq
- quantize_graph_base
- quantize_graph_bn
- quantize_graph_concatv2
- quantize_graph_conv
- quantize_graph_for_intel_cpu
- quantize_graph_matmul
- quantize_graph_pooling
- quantize_graph_common
- transform_graph
- bias_correction
- graph_transform_base
- insert_logging
- rerange_quantized_concat
- utility
- utils
- constants
- data
- model
- model_wrappers
- nets_factory
- utility
- torch
- algorithms
- habana_fp8
- fp8_quant
- modules
- observer
- layer_wise
- load
- modified_pickle
- utils
- static_quant
- static_quant
- utility
- weight_only
- awq
- gptq
- hqq
- auto_accelerator
- bitpack
- config
- core
- optimizer
- qtensor
- quant_api
- quantizer
- utility
- modules
- rtn
- teq
- utility
- amp
- autocast
- fp8
- functions
- quantization
- algorithm_entry
- autotune
- config
- modules
- quantize
- utils
- constants
- environ
- utility
- training
- utils
- collect_layer_histogram
- constant
- create_obj_from_config
- kl_divergence
- load_huggingface
- logger
- neural_insights_utils
- options
- pytorch
- utility
- weights_details
- version
- docs
- build_docs/source
- source
- api-doc
- adaptor
- neural_coder
- docs
- release_notes
- extensions
- neural_compressor_ext_lab
- neural_compressor_ext_lab_alibaba
- neural_compressor_ext_vscode
- neural_insights
- docs/source
- gui
- neural_solution
- docs/source
- template
- examples
- custom_models_optimized/tf_example1
- hf_models
- hf_models_grpc
- frontend
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
804 files changed
+13496
-784
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 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 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 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 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 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 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
28 | 27 |
| |
29 | 28 |
| |
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
33 |
| - | |
| 32 | + | |
34 | 33 |
| |
35 | 34 |
| |
36 | 35 |
| |
37 | 36 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 37 | + | |
44 | 38 |
| |
45 | 39 |
| |
46 | 40 |
| |
47 | 41 |
| |
48 | 42 |
| |
49 | 43 |
| |
50 |
| - | |
| 44 | + | |
51 | 45 |
| |
52 | 46 |
| |
53 | 47 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
22 |
| - | |
| 23 | + | |
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
27 | 41 |
| |
28 | 42 |
| |
29 | 43 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 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 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 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 | + |
0 commit comments