aclError
The rules for defining return codes are as follows:
- Rule 1: Abnormal development environment or incorrect code logic that can be optimized are defined as 1XXXXX.
- Rule 2: Resource (stream, memory, etc.) insufficiency and APIs or arguments mismatch with the hardware, which can be resolved by the proper use of resources during programming are defined as 2XXXXX.
- Rule 3: Abnormal services (full or empty queue, etc.) are defined as 3XXXXX.
- Rule 4: Abnormal internal hardware and software errors (internal software errors, device execution failure, or others) are defined as 5XXXXX. These errors cannot be resolved by the user and need to be reported to Huawei.
- Rule 5: Unrecognized errors are currently mapped to 500000.
Return Code |
Description |
Possible Cause and Solution |
|---|---|---|
ACL_SUCCESS = 0 |
Successful operation |
- |
ACL_ERROR_NONE = 0 NOTICE:
This return code will be deprecated in future releases. Use ACL_SUCCESS instead. |
Successful operation |
- |
ACL_ERROR_INVALID_PARAM = 100000 |
Argument verification failed |
Check the passed arguments. |
ACL_ERROR_UNINITIALIZE = 100001 |
ACL not initialized |
|
ACL_ERROR_REPEAT_INITIALIZE = 100002 |
Repeated initialization or loading |
Check whether the API is repeatedly called for initialization or model loading. |
ACL_ERROR_INVALID_FILE = 100003 |
Invalid file |
Check whether the file exists and is accessible. |
ACL_ERROR_WRITE_FILE = 100004 |
File writing failed |
Check whether the file path exists and whether you have the write permission on the file. |
ACL_ERROR_INVALID_FILE_SIZE = 100005 |
Invalid file size |
Check whether the file size meets the API requirements. |
ACL_ERROR_PARSE_FILE = 100006 |
File parsing failed |
Check whether the file content is valid. |
ACL_ERROR_FILE_MISSING_ATTR = 100007 |
Missing file parameter |
Check whether the file content is complete. |
ACL_ERROR_FILE_ATTR_INVALID = 100008 |
Invalid file parameter |
Check whether the parameters in the file are correct. |
ACL_ERROR_INVALID_DUMP_CONFIG = 100009 |
Invalid dump configuration |
Check the dump configuration. For details, see Model Accuracy Analyzer Instructions. |
ACL_ERROR_INVALID_PROFILING_CONFIG = 100010 |
Invalid profiling configuration |
Check the profiling configuration. |
ACL_ERROR_INVALID_MODEL_ID = 100011 |
Invalid model ID |
Check whether the model ID is correct and whether the model is correctly loaded. |
ACL_ERROR_DESERIALIZE_MODEL = 100012 |
Model deserialization failed |
The model may not be compatible with the current version. Build the model again. |
ACL_ERROR_PARSE_MODEL = 100013 |
Model parsing failed |
The model may not be compatible with the current version. Build the model again. |
ACL_ERROR_READ_MODEL_FAILURE = 100014 |
Model reading failed |
Check whether the model file exists and is accessible. |
ACL_ERROR_MODEL_SIZE_INVALID = 100015 |
Invalid model size |
The model file is invalid. Build the model again. |
ACL_ERROR_MODEL_MISSING_ATTR = 100016 |
Missing model parameter |
The model may not be compatible with the current version. Build the model again. |
ACL_ERROR_MODEL_INPUT_NOT_MATCH = 100017 |
Model input mismatch |
Check whether the model input is correct. |
ACL_ERROR_MODEL_OUTPUT_NOT_MATCH = 100018 |
Model output mismatch |
Check whether the model output is correct. |
ACL_ERROR_MODEL_NOT_DYNAMIC = 100019 |
Dynamic feature not supported |
Check whether the current model supports dynamic scenarios. If not, build the model again. |
ACL_ERROR_OP_TYPE_NOT_MATCH = 100020 |
Single-operator type mismatch |
Check whether the operator type is correct. |
ACL_ERROR_OP_INPUT_NOT_MATCH = 100021 |
Single-operator input mismatch |
Check whether the operator input is correct. |
ACL_ERROR_OP_OUTPUT_NOT_MATCH = 100022 |
Single-operator output mismatch |
Check whether the operator output is correct. |
ACL_ERROR_OP_ATTR_NOT_MATCH = 100023 |
Single-operator attribute mismatch |
Check whether the operator attribute is correct. |
ACL_ERROR_OP_NOT_FOUND = 100024 |
Single-operator not found |
Check whether the operator type is supported. |
ACL_ERROR_OP_LOAD_FAILED = 100025 |
Single-operator loading failed |
The model may not be compatible with the current version. Build a single-operator model again. |
ACL_ERROR_UNSUPPORTED_DATA_TYPE = 100026 |
Data type not supported |
Check whether the data type exists or is supported. |
ACL_ERROR_FORMAT_NOT_MATCH = 100027 |
Format mismatch |
Check whether the format is correct. |
ACL_ERROR_BIN_SELECTOR_NOT_REGISTERED = 100028 |
Operator selector unregistered for operator compilation in binary mode |
Check whether acl.op.register_compile_func is called to register an operator selector. |
ACL_ERROR_KERNEL_NOT_FOUND = 100029 |
Operator kernel unregistered for operator compilation |
Check whether acl.op.create_kernel is called to register an operator kernel. |
ACL_ERROR_BIN_SELECTOR_ALREADY_REGISTERED = 100030 |
Operator repeatedly registered for operator compilation in binary mode |
Check whether acl.op.register_compile_func is repeatedly called to register an operator selector. |
ACL_ERROR_KERNEL_ALREADY_REGISTERED = 100031 |
Operator kernel repeatedly registered for operator compilation |
Check whether acl.op.create_kernel is repeatedly called to register an operator kernel. |
ACL_ERROR_INVALID_QUEUE_ID = 100032 |
Invalid queue ID |
Check whether the queue ID is correct. |
ACL_ERROR_REPEAT_SUBSCRIBE = 100033 |
Repeated subscription |
Check whether acl.rt.subscribe_report is repeatedly called in the same stream. |
ACL_ERROR_STREAM_NOT_SUBSCRIBE = 100034 NOTICE:
This return code will be deprecated in future releases. Use ACL_ERROR_RT_STREAM_NO_CB_REG instead. |
Stream unsubscribed |
Check whether acl.rt.subscribe_report has been called. |
ACL_ERROR_THREAD_NOT_SUBSCRIBE = 100035 NOTICE:
This return code will be deprecated in future releases. Use ACL_ERROR_RT_THREAD_SUBSCRIBE instead. |
Thread unsubscribed |
Check whether acl.rt.subscribe_report has been called. |
ACL_ERROR_WAIT_CALLBACK_TIMEOUT = 100036 NOTICE:
This return code will be deprecated in future releases. Use ACL_ERROR_RT_REPORT_TIMEOUT instead. |
Callback timeout |
Check whether acl.rt.launch_callback has been called to deliver a callback task. Check whether the timeout period in acl.rt.process_report is proper. Check whether the callback task has been processed. If yes, but acl.rt.process_report is still called, the code logic needs to be optimized. |
ACL_ERROR_REPEAT_FINALIZE = 100037 |
Repeated deinitialization |
Check whether acl.finalize is repeatedly called for deinitialization. |
ACL_ERROR_NOT_STATIC_AIPP = 100038 NOTICE:
This return code will be deprecated in future releases. Use ACL_ERROR_GE_AIPP_NOT_EXIST instead. |
AIPP configuration not found |
Pass the correct index to the acl.mdl.get_first_aipp_info call. |
ACL_ERROR_COMPILING_STUB_MODE = 100039 |
Incorrect dynamic library path configured before app execution |
Check the configuration of the dynamic library path and ensure that the dynamic library in running mode is used. |
ACL_ERROR_PROF_ALREADY_RUN = 100042 |
Duplicate profile data collection task |
|
ACL_ERROR_PROF_NOT_RUN = 100043 |
Profiling not initialized by calling acl.prof.init |
Check the API call sequence for collecting profile data. For details, see Profiling pyACL APIs (Collecting and Flushing Profile Data). |
ACL_ERROR_DUMP_ALREADY_RUN = 100044 |
Duplicate dump task |
Check whether acl.init has been called before the acl.mdl.init_dump, acl.mdl.set_dump, and acl.mdl.finalize_dump calls. If yes, adjust the code logic and retain only one dump configuration. |
ACL_ERROR_DUMP_NOT_RUN = 100045 |
Dump not initialized by calling acl.mdl.init_dump |
Check the API call sequence for obtaining dump data. For details, see acl.mdl.init_dump. |
ACL_ERROR_PROF_REPEAT_SUBSCRIBE = 148046 |
Repeated model subscription |
Check the API call sequence. For details, see Profiling pyACL APIs (Collecting and Flushing Profile Data). |
ACL_ERROR_PROF_API_CONFLICT = 148047 |
Profiling API call conflict |
Do not mix the two sets of profiling APIs. Between the acl.prof.init and acl.prof.finalize calls, calls to acl.prof.model_subscribe, acl.prof.get_op_*, and acl.prof.model_unsubscribe are not allowed. Between the acl.prof.model_subscribe and acl.prof.model_unsubscribe calls, calls to acl.prof.init, acl.prof.start, acl.prof.stop, and acl.prof.finalize are not allowed. |
ACL_ERROR_INVALID_MAX_OPQUEUE_NUM_CONFIG = 148048 |
Invalid operator cache aging configuration |
Check the operator cache aging configuration. For details, see the configuration description and example in acl.init. |
ACL_ERROR_INVALID_OPP_PATH = 148049 |
Invalid ASCEND_OPP_PATH environment variable |
Check whether the ASCEND_OPP_PATH environment variable is set and whether the OPP installation path is included. |
ACL_ERROR_OP_UNSUPPORTED_DYNAMIC = 148050; |
Dynamic shape unsupported |
|
ACL_ERROR_RELATIVE_RESOURCE_NOT_CLEARED = 148051; |
Related resources unreleased |
This error code is returned if a channel is not destroyed when you destroy the channel description. Check that the associated channel is destroyed. |
ACL_ERROR_UNSUPPORTED_JPEG = 148052; |
The input image format is not supported by JPEG decoder (JPEGD) (such as arithmetic encoding or progressive encoding). |
JPEGD supports only Huffman coding and does not support arithmetic encoding, progressive JPEG format, or JPEG 2000 format. The color space of the input image must be YUV with YUV components in the ratio of 4:4:4, 4:2:2, 4:2:0, 4:0:0, or 4:4:0. |
ACL_ERROR_BAD_ALLOC = 200000 |
Memory allocation failed |
Check the available memory in the hardware environment. |
ACL_ERROR_API_NOT_SUPPORT = 200001 |
API not supported |
Check whether the called API is supported. |
ACL_ERROR_INVALID_DEVICE = 200002 NOTICE:
This return code will be deprecated in future releases. Use ACL_ERROR_RT_INVALID_DEVICEID instead. |
Invalid device |
Check whether the device exists. |
ACL_ERROR_MEMORY_ADDRESS_UNALIGNED = 200003 |
Memory address not aligned |
Check whether the memory address meets the API requirements. |
ACL_ERROR_RESOURCE_NOT_MATCH = 200004 |
Resource mismatch |
Check whether the input resources such as streams and contexts are correctly input when the API is called. |
ACL_ERROR_INVALID_RESOURCE_HANDLE = 200005 |
Invalid resource handle |
Check whether the input resources such as streams and contexts have been destroyed or occupied when the API is called. |
ACL_ERROR_FEATURE_UNSUPPORTED = 200006 |
Feature not supported |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_PROF_MODULES_UNSUPPORTED = 200007 |
Unsupported profiling configuration |
Check whether the profiling configuration is correct by referring to the description of acl.prof.create_config. |
ACL_ERROR_STORAGE_OVER_LIMIT = 300000 |
Storage capacity reached |
Check the available memory in the hardware environment. |
ACL_ERROR_INTERNAL_ERROR = 500000 |
Unknown internal error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_FAILURE = 500001 |
Internal ACL error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_FAILURE = 500002 |
Internal GE error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_FAILURE = 500003 |
Internal Runtime error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_DRV_FAILURE = 500004 |
Internal Driver error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_PROFILING_FAILURE = 500005 |
Profiling related error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
Return Code |
Description |
Possible Cause and Solution |
|---|---|---|
ACL_RT_SUCCESS = 0 |
Successful operation |
- |
ACL_ERROR_RT_PARAM_INVALID = 107000 |
Argument verification failed |
Check the passed arguments. |
ACL_ERROR_RT_INVALID_DEVICEID = 107001 |
Invalid device ID |
Check whether the device ID is valid. |
ACL_ERROR_RT_CONTEXT_NULL = 107002 |
Empty context |
Check whether acl.rt.set_context or acl.rt.set_device is called. |
ACL_ERROR_RT_STREAM_CONTEXT = 107003 |
Stream and context mismatch. The stream is not in the current context. |
Check whether the context of the stream is consistent with the current context. |
ACL_ERROR_RT_MODEL_CONTEXT = 107004 |
Model and context mismatch. The model is not in the current context. |
Check whether the loaded model is consistent with the current context. |
ACL_ERROR_RT_STREAM_MODEL = 107005 |
Stream and model mismatch. The stream is not bound to the current model. |
Check whether the stream has been bound to the model. |
ACL_ERROR_RT_EVENT_TIMESTAMP_INVALID = 107006 |
Invalid event timestamp |
Check whether the event is created. |
ACL_ERROR_RT_EVENT_TIMESTAMP_REVERSAL = 107007 |
Event timestamp reverted |
Check whether the event is created. |
ACL_ERROR_RT_ADDR_UNALIGNED = 107008 |
Memory address not aligned |
Check whether the allocated memory address is aligned. For details about the restrictions on the memory allocation APIs, see Memory Management. |
ACL_ERROR_RT_FILE_OPEN = 107009 |
File opening failed |
Check whether the file exists. |
ACL_ERROR_RT_FILE_WRITE = 107010 |
File writing failed |
Check whether the file exists and whether you have the write permission on the file. |
ACL_ERROR_RT_STREAM_SUBSCRIBE = 107011 |
Stream unsubscribed or subscribed repeatedly |
Check whether the current stream is subscribed or subscribed repeatedly. |
ACL_ERROR_RT_THREAD_SUBSCRIBE = 107012 |
Thread unsubscribed or subscribed repeatedly |
Check whether the thread needs to be subscribed or has already been subscribed. |
ACL_ERROR_RT_GROUP_NOT_SET = 107013 |
Group not set |
- |
ACL_ERROR_RT_GROUP_NOT_CREATE = 107014 |
Group not created |
Check whether the value of Group ID set during API calling is within the supported range. The value range of Group ID is [0, (Number of groups – 1)]. |
ACL_ERROR_RT_STREAM_NO_CB_REG = 107015 |
Stream of the callback not registered with the thread |
Check whether the stream has been registered with the thread and whether acl.rt.subscribe_report is called. |
ACL_ERROR_RT_INVALID_MEMORY_TYPE = 107016 |
Invalid memory type |
Check whether the memory type is valid. |
ACL_ERROR_RT_INVALID_HANDLE = 107017 |
Invalid resource handle |
Check the arguments. |
ACL_ERROR_RT_INVALID_MALLOC_TYPE = 107018 |
Invalid memory type |
Check the arguments and the corresponding memory type. |
ACL_ERROR_RT_WAIT_TIMEOUT = 107019 |
Task timeout |
Re-call the task API. |
ACL_ERROR_RT_TASK_TIMEOUT = 107020 |
Task timeout |
Check whether the service orchestration is proper or whether the timeout interval is set properly. |
ACL_ERROR_RT_SYSPARAMOPT_NOT_SET = 107021 |
Obtaining the system parameter values in the current context failed |
The system parameter values in the current context are not set. |
ACL_ERROR_RT_FEATURE_NOT_SUPPORT = 207000 |
Feature not supported |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_MEMORY_ALLOCATION = 207001 |
Memory allocation failed |
Check the available memory in the hardware environment. |
ACL_ERROR_RT_MEMORY_FREE = 207002 |
Memory deallocation failed |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICORE_OVER_FLOW = 207003 |
AI Core operator overflow |
Check the AI Core operator. |
ACL_ERROR_RT_NO_DEVICE = 207004 |
Unavailable device |
Check that the device is running properly. |
ACL_ERROR_RT_RESOURCE_ALLOC_FAIL = 207005 |
Memory allocation failed |
Check the available memory in the hardware environment. |
ACL_ERROR_RT_NO_PERMISSION = 207006 |
No operation permission |
Check the user permission. |
ACL_ERROR_RT_NO_EVENT_RESOURCE = 207007 |
Insufficient event resources |
Check the event count by referring to the description of acl.rt.create_event. |
ACL_ERROR_RT_NO_STREAM_RESOURCE = 207008 |
Insufficient stream resources |
Check the stream count by referring to the description of acl.rt.create_stream. |
ACL_ERROR_RT_NO_NOTIFY_RESOURCE = 207009 |
Insufficient Notify resources |
Reduce the number of concurrent tasks or unload some of the models. |
ACL_ERROR_RT_NO_MODEL_RESOURCE = 207010 |
Insufficient model resources |
Unload some of the models. |
ACL_ERROR_RT_NO_CDQ_RESOURCE = 207011; |
Insufficient Runtime resources |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_OVER_LIMIT = 207012; |
Number of queues exceeding the upper limit |
Destroy unnecessary queues before creating a queue. |
ACL_ERROR_RT_QUEUE_EMPTY = 207013; |
Empty queue |
It is not allowed to obtain data from an empty queue. Feed data to the queue first. |
ACL_ERROR_RT_QUEUE_FULL = 207014; |
Full queue |
It is not allowed to feed data to a full queue. Obtain data from the queue first. |
ACL_ERROR_RT_REPEATED_INIT = 207015; |
Repeated queue initialization |
Initialize the queue only once. |
static const int32_t ACL_ERROR_RT_DEVIDE_OOM = 207018; |
Memory on the device is used up. |
Check the memory usage on the device and properly plan the memory usage based on the memory specifications on the device. |
ACL_ERROR_RT_INTERNEL_ERROR = 507000 |
Runtime error on the host (internal error) |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_TS_ERROR = 507001 |
Task Scheduler error on the device (internal error) |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_STREAM_TASK_FULL = 507002 |
Stream tasks full |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_STREAM_TASK_EMPTY = 507003 |
Empty stream task |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_STREAM_NOT_COMPLETE = 507004 |
Stream tasks not complete |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_END_OF_SEQUENCE = 507005 |
AI CPU tasks complete |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_EVENT_NOT_COMPLETE = 507006 |
Events not complete |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_CONTEXT_RELEASE_ERROR = 507007 |
Failure to destroy the context |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_SOC_VERSION = 507008 |
Failure to obtain SoC version |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_TASK_TYPE_NOT_SUPPORT = 507009 |
Task type not supported |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_LOST_HEARTBEAT = 507010 |
Task Scheduler heartbeat lost |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_MODEL_EXECUTE = 507011 |
Model execution error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_REPORT_TIMEOUT = 507012 |
Failure to obtain message from Task Scheduler |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_SYS_DMA = 507013 |
System Direct Memory Access (DMA) hardware execution error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICORE_TIMEOUT = 507014 |
AI Core execution timeout |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICORE_EXCEPTION = 507015 |
AI Core execution error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICORE_TRAP_EXCEPTION = 507016 |
AI Core trap execution error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICPU_TIMEOUT = 507017 |
AI CPU execution timeout |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICPU_EXCEPTION = 507018 |
AI CPU execution error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICPU_DATADUMP_RSP_ERR = 507019 |
No dumping response from AI CPU to Task Scheduler |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICPU_MODEL_RSP_ERR = 507020 |
No model execution response from AI CPU to Task Scheduler |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_PROFILING_ERROR = 507021 |
Profiling error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_IPC_ERROR = 507022 |
Inter-process communication error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_MODEL_ABORT_NORMAL = 507023 |
Model exited |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_KERNEL_UNREGISTERING = 507024 |
Unregistering the operator |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_RINGBUFFER_NOT_INIT = 507025 |
Ring buffer not initialized |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_RINGBUFFER_NO_DATA = 507026 |
No data in the ring buffer |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_KERNEL_LOOKUP = 507027 |
Runtime kernel unregistered |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_KERNEL_DUPLICATE = 507028 |
Runtime kernel registered repeatedly |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_DEBUG_REGISTER_FAIL = 507029 |
Failure to register debug |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_DEBUG_UNREGISTER_FAIL = 507030 |
Failure to unregister debugging |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_LABEL_CONTEXT = 507031 |
Label and context mismatch. The label is not in the current context. |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_PROGRAM_USE_OUT = 507032 |
Registered program number limit reached |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_DEV_SETUP_ERROR = 507033 |
Failure to start the device |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_VECTOR_CORE_TIMEOUT = 507034; |
Vector Core timeout |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_VECTOR_CORE_EXCEPTION = 507035; |
Vector Core execution error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_VECTOR_CORE_TRAP_EXCEPTION = 507036; |
Vector Core trap error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_CDQ_BATCH_ABNORMAL = 507037; |
Failure to allocate Runtime resources |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_DIE_MODE_CHANGE_ERROR = 507038; |
Die mode change failed |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_DIE_SET_ERROR = 507039; |
Die specifying failed in single-die mode |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_INVALID_DIEID = 507040; |
Die ID specifying failed |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_DIE_MODE_NOT_SET = 507041; |
Die mode not set |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICORE_TRAP_READ_OVERFLOW = 507042; |
AI Core trap read overflow |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICORE_TRAP_WRITE_OVERFLOW = 507043; |
AI Core trap write overflow |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_VECTOR_CORE_TRAP_READ_OVERFLOW = 507044; |
Vector Core trap read overflow |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_VECTOR_CORE_TRAP_WRITE_OVERFLOW = 507045; |
Vector Core trap write overflow |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_STREAM_SYNC_TIMEOUT = 507046; |
In the specified timeout wait event, all tasks in the specified stream are not completed. |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_EVENT_SYNC_TIMEOUT = 507047; |
During the specified event synchronization, the execution of the event is not completed within the specified time. |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_FFTS_PLUS_TIMEOUT = 507048; |
Internal task execution timed out. |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_FFTS_PLUS_EXCEPTION = 507049; |
An exception in internal task execution occurs. |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_FFTS_PLUS_TRAP_EXCEPTION = 507050; |
The trap of an internal task is abnormal. |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
static const int32_t ACL_ERROR_RT_SEND_MSG = 507051; |
Messages fail to be sent during data enqueuing. |
Rectify the fault based on the error logs or contact technical support. For details about logs, see Log Reference. |
static const int32_t ACL_ERROR_RT_COPY_DATA = 507052; |
Failed to copy the memory during data enqueuing. |
Rectify the fault based on the error logs or contact technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_DRV_INTERNAL_ERROR = 507899 |
Internal Driver error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_AICPU_INTERNAL_ERROR = 507900; |
Internal error with AI CPU |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_RT_SOCKET_CLOSE = 507901; |
Disconnection of the internal host device communication (HDC) session |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
Return Code |
Description |
Possible Cause and Solution |
|---|---|---|
ACL_ERROR_GE_PARAM_INVALID = 145000 |
Argument verification failed |
Check the passed arguments. |
ACL_ERROR_GE_EXEC_NOT_INIT = 145001 |
pyACL not initialized |
|
ACL_ERROR_GE_EXEC_MODEL_PATH_INVALID = 145002 |
Invalid model path |
Check whether the model path is correct. |
ACL_ERROR_GE_EXEC_MODEL_ID_INVALID = 145003 |
Invalid model ID |
Check whether the model ID is correct and whether the model is correctly loaded. |
ACL_ERROR_GE_EXEC_MODEL_DATA_SIZE_INVALID = 145006 |
Invalid model size |
Invalid model size. |
ACL_ERROR_GE_EXEC_MODEL_ADDR_INVALID = 145007 |
Invalid model memory address |
Check whether the model address is valid. |
ACL_ERROR_GE_EXEC_MODEL_QUEUE_ID_INVALID = 145008 |
Invalid queue ID |
Invalid queue ID. |
ACL_ERROR_GE_EXEC_LOAD_MODEL_REPEATED = 145009 |
Repeated initialization or loading |
Check whether the API is repeatedly called for initialization or model loading. |
ACL_ERROR_GE_DYNAMIC_INPUT_ADDR_INVALID = 145011 |
Invalid address of the dynamic-shape input |
Check the address of the dynamic-shape input. |
ACL_ERROR_GE_DYNAMIC_INPUT_LENGTH_INVALID = 145012 |
Invalid length of the dynamic-shape input |
Check the length of the dynamic-shape input. |
ACL_ERROR_GE_DYNAMIC_BATCH_SIZE_INVALID = 145013 |
Invalid dynamic batch size |
Check the dynamic batch size. |
ACL_ERROR_GE_AIPP_BATCH_EMPTY = 145014 |
Invalid AIPP batch size |
Check whether the AIPP batch size is correct. |
ACL_ERROR_GE_AIPP_NOT_EXIST = 145015 |
AIPP configuration not found |
Check whether AIPP is configured. |
ACL_ERROR_GE_AIPP_MODE_INVALID = 145016 |
Invalid AIPP mode |
Check whether the AIPP mode configured during model conversion is correct. |
ACL_ERROR_GE_OP_TASK_TYPE_INVALID = 145017 |
Invalid task type |
Check whether the operator type is correct. |
ACL_ERROR_GE_OP_KERNEL_TYPE_INVALID = 145018 |
Invalid operator type |
Check whether the operator type is correct. |
ACL_ERROR_GE_PLGMGR_PATH_INVALID = 145019 |
The .so file is invalid. For example, the path hierarchy of the .so file is too deep, or the .so file is deleted by mistake. |
Check whether the environment variable LD_LIBRARY_PATH configured before running the app is correct. For details, see the operation guide for compilation and running. |
ACL_ERROR_GE_FORMAT_INVALID = 145020 |
Invalid format. |
Check whether the format of the tensor data is valid. |
ACL_ERROR_GE_SHAPE_INVALID = 145021 |
Invalid shape. |
Check whether the shape of the tensor data is valid. |
ACL_ERROR_GE_DATATYPE_INVALID = 145022 |
Invalid data type. |
Check whether the data type of the tensor data is valid. |
ACL_ERROR_GE_MEMORY_ALLOCATION = 245000 |
Memory allocation failed |
Check the available memory in the hardware environment. |
ACL_ERROR_GE_MEMORY_OPERATE_FAILED = 245001; |
Memory initialization or memory copy failure |
Check the memory address and whether the hardware memory is sufficient. |
ACL_ERROR_GE_DEVICE_MEMORY_ALLOCATION_FAILED = 245002; |
Device memory allocation failed |
The device memory has been used up. Free some device memory and try again. |
ACL_ERROR_GE_INTERNAL_ERROR = 545000 |
Unknown internal error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_LOAD_MODEL = 545001 |
Failure to load the model |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_EXEC_LOAD_MODEL_PARTITION_FAILED = 545002 |
Failure to load the model |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_EXEC_LOAD_WEIGHT_PARTITION_FAILED = 545003 |
Failure to load the model weight |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_EXEC_LOAD_TASK_PARTITION_FAILED = 545004 |
Failure to load the model tasks |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_EXEC_LOAD_KERNEL_PARTITION_FAILED = 545005 |
Failure to load the model operators |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_EXEC_RELEASE_MODEL_DATA = 545006 |
Failure to free the model space |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_COMMAND_HANDLE = 545007 |
Command execution error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_GET_TENSOR_INFO = 545008 |
Failure to obtain tensor data |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_UNLOAD_MODEL = 545009 |
Failure to unload the model |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see Log Reference. |
ACL_ERROR_GE_MODEL_EXECUTE_TIMEOUT = 545601 |
Model execution timeout |
Rectify the fault based on the error logs or contact technical support. For details about logs, see Log Reference. |