Keyword Arguments |
Type |
Description |
|---|---|---|
|
int |
Device on which to run the inference. Default is 0. |
|
int |
Number of instances on network to be activated. |
|
int |
Number of ExecObj to be created. |
|
int |
Effort level to reduce the on-chip memory. |
|
int |
Factor to increasing splitting of network for parallelism. |
|
int |
Number of aic cores to be used for inference. |
|
bool |
Run all floating-point in fp16. |
|
(list[tuple(str, int)]) |
Define an onnx symbol with its value. |
|
str |
Stores model binaries at directory location provided. |
|
(list[str]) |
Output node names should be in the order as present in model file. This option is mandatory for TF models. |
|
dict |
Provide input node name with its data type and shape. Dict must contain keys ‘input_name’, ‘input_type’,’input_shape’. This is mandatory for pytorch models. |
|
int |
Option to increase the lifetime of buffers to reduce false dependencies. |
|
int |
Option to specify a maximum tile size target for operations that may be too large to run out of fast memory. Tile size in KiB between 512 - 2048. |
|
float |
Option to Specify the maximum ratio amount of fast memory to DDR any single instruction is allowed use of all available value between. |
|
(list[str]) |
Run all instances of the operators in this list with FP16. |
|
str |
Load model loader precision file which contains first output name of operator instances required to be executed in FP16 or FP32. |
|
(list[str]) |
Run all instances of the operators in this list with original precision during generation of quantized precision model even if the operator is supported in Int8 precision. |
|
str |
Custom I/O config file in yaml format containing layout, precision scale and offset for each input and output of the model. |
|
str |
Dumps the yaml template for Custom I/O configuration. |
|
str |
Load the externally generated quantization profile. |
|
str |
Specify which quantization schema to use for activations. Valid options: asymmetric, symmetric, symmetric_with_uint8 (default), symmetric_with_power2_scale. |
|
str |
Specify which quantization schema to use for constants. Valid options: asymmetric, symmetric, symmetric_with_uint8. |
|
str |
Specify which quantization calibration to use Default is None (MinMax calibration is applied). Valid options: None (default), KLMinimization, KLMinimizationV2, Percentile, MSE and SQNR. |
|
float |
Specify the percentile value to be used with Percentile calibration method. The specified float value must lie within 90 and 100, default: 100. |
|
int |
Sets the num of histogram bins that will be used in profiling every node. Default value is 512. |
|
str |
Specify which quantization precision to use. Int8(default) is only supported precision for now. |
|
str |
Specify which quantization precision to use. Value options: Int8, Int32 (default). |
|
bool |
Enable row-wise quantization of FullyConnected and SparseLengthsSum ops. |
|
bool |
Enable channelwise quantization of Convolution op. |
|
str |
Perform quantization profiling for a specified graph and dump result to the file. Compilation will be done after dumping profile unlike qaic-exec. |
|
str |
Load quantization profile file and quantize the graph. The profile file to be loaded is the one which is dumped through option -dump-profile. |
|
bool |
If -load-profile option isn’t provided then input data is profiled and run in quantized mode. Default is off. Also set-quantization-* options according to the requirement. Don’t use this option along with -dump-profile or -load-profile. |
|
str |
Load embedding tables from this zip file for DLRM and RecSys models. |
|
str |
Extract embedding tables from pytorch model and dump them in the zip file specified. |
|
str |
Load config file for partitioning a graph across devices. |
|
str |
Dump config file for partitioning a graph across devices. |
|
bool |
Enable all preprocessing/postprocessing on host. |
|
bool |
Disable all preprocessing/postprocessing on host. Operations are performed on AI 100 instead. |
|
bool |
Enables DFS with default memory size |
|
int |
Sets DFS memory size. number must be chosen from [8,32]. |
|
int |
This option is used to normalize performance statistics to be per . |
|
bool |
This option forces the expansion ONNX functions. |
|
bool |
Enables debug mode during model compilation. |
|
bool |
Enables printing of compile-time statistics. |
|
bool |
Enables CRC check for inputs and outputs of the network. |
|
int |
Specifies size of stride to calculate CRC in the stride section. |
|
(list[int]) |
Enables single device partitioning and sets the cluster configuration. |
|
int |
This option is used to assign the number of threads to use for quantization profile generation. |
|
int |
Sets the number of parallel threads used for compilation. |
|
bool |
Initiate NSP DMAs from the thread that produces data being transferred. |
|
bool |
Print performance warning messages. |
|
bool |
Print compiler performance metrics. |
|
str |
Enable the PMU selection based on built-in recipe: AxiRd, AxiWr, AxiRdWr, KernelUtil, HmxMacs. |
|
str |
Track events in NSP cores. Up to 8 events are supported. |
|
(list[str]) |
Inform the compiler which inputs should be treated as having dynamic shape. |
|
bool |
Reduce DDR bandwidth by loading weights used on multiple-cores only once and multicasting to other cores. |
|
bool |
Used to collect DDR traffic details at per core level. |
|
bool |
When enabled combines inputs into fewer buffers for transfer to device. |
|
bool |
When enabled combines outputs into a single buffer for transfer to host. |
|
bool |
Set value to True if you are interested in getting performance metrics for inference runs on a session (can’t be used if enable_profiling is set to True). |
|
bool |
Set value to True if you want to profile the inferences and get performance metrics for inference runs on a session (can’t be used if enable_metrics is set to True). |