Environment Variable

HB_UCP_LOG_LEVEL // Use hlog to set the ucp module log level, the value are 0, 1, 2, 3, 4, 5 and 6, corresponds respectively to trace, debug, info, warn, error, critical and never, default is warn HB_NN_LOG_LEVEL // Use hlog to set the nn module log level, the value are 0, 1, 2, 3, 4, 5 and 6, corresponds respectively to trace, debug, info, warn, error, critical and never, default is warn HB_UCP_LOG_PATH // Use hlog to set the log file path, support rolling and splitting feature, and can specify the size of a single file and the number of split files HB_UCP_LOG_MAX_SIZE // Set the log file size when rolling and splitting, the unit is MB, and default is 1024 HB_UCP_LOG_ROTATE_NUM // Set the number of log files when rolling and splitting, and default is 16 HB_UCP_SCHEDULE_PRIORITY // Set the priority of the ucp scheduler thread, the range of values is 0~99, default is 1. When the priority is set greater than 0, the thread scheduling method is SCHED_FIFO. HB_UCP_CPU_PROCESS_THREAD_PRIORITY // Set the CPU operator processing thread priority for ucp model inference. The value range is 0~99, and the default is 0. When the priority is set greater than 0, the thread scheduling mode is SCHED_RR. HB_UCP_ENABLE_BPU_BACKEND_CORE_NUM // Set the number of cores that BPU can support. The default is the maximum number of cores that the computing platform can support, Setting 0 will turn off BPU which can reduce the occupation of thread resources HB_UCP_ENABLE_CPU_BACKEND_CORE_NUM // Set the number of threads in the CPU operator thread pool for model inference, default is 6 HB_UCP_MAX_TASK_NUM // Set the maximum number of tasks that can exist simultaneously in module of NN, default is 32. HB_UCP_SIM_PLATFORM_TYPE // Set the computing platform type in the simulation environment. The values ​​are nash-e, nash-m, nash-p and nash-b corresponding to J6E, J6M, J6P and J6B respectively, default is J6E.