Appendix

Environment Variable Usage

Aura may use the following environment variables during runtime.

Environment VariableDescription
LOCAL_RANKA torch distributed training setting that describes the rank of the current thread on the current node. The value range is [0, 8).
RANKA torch distributed training setting that describes the rank of the current thread across all nodes. The value range is [0, 8).

When Aura starts, it validates environment variables against an allowlist. Only the following environment variables are retained.

Environment VariableDescription
ASCEND_WORK_PATHLocation for files generated during unified CANN runtime.
ASCEND_AICPU_PATHInstallation path of AICPU in ascend-toolkit.
ASCEND_HOME_PATHSame as ASCEND_TOOLKIT_HOME. This is the file storage path after you install the CANN Toolkit.
ASCEND_OPP_PATHRoot directory of the operator library.
ASCEND_TOOLKIT_HOMEPath for storing files after the CANN Toolkit software package is installed.
ASDOPS_LOG_LEVELOperator library log level.
ASDOPS_LOG_PATHPath for storing operator library logs.
ASDOPS_LOG_TO_BOOST_TYPEName of the acceleration library log directory.
ASDOPS_LOG_TO_FILESpecifies whether to output operator library logs to a file.
ASDOPS_LOG_TO_FILE_FLUSHSpecifies whether to flush the log file after writes.
ASDOPS_LOG_TO_STDOUTSpecifies whether to output operator library logs to the console.
ATB_COMPARE_TILING_EVERY_KERNELAfter each kernel runs, the system compares the tiling content on the NPU before and after the running to check whether tiling memory corruption occurs.
ATB_DEVICE_TILING_BUFFER_BLOCK_NUMNumber of DeviceTilingBuffer blocks in the context. The number is related to the maximum number of parallel operators. Generally, the default value is used and should not be changed unless necessary.
ATB_HOME_PATHPath for storing files after the nnal package is installed.
ATB_HOST_TILING_BUFFER_BLOCK_NUMNumber of HostTilingBuffer blocks in the context. The number is related to the maximum number of parallel operators. Generally, the default value is used and should not be changed unless necessary.
ATB_MATMUL_SHUFFLE_K_ENABLESpecifies whether to enable Shuffle-K to control the consistency of the accumulation order of the matrix multiplication result when different positions of the matrix are computed. This variable affects the internal accumulation order of the matmul operator.
ATB_OPSRUNNER_KERNEL_CACHE_GLOBAL_COUNTNumber of slots for the global kernel cache.
  • When the number of slots increases, the cache hit rate is improved but the retrieval efficiency is reduced.
  • When the number of slots decreases, the retrieval efficiency is improved but the cache hit rate is reduced.
  • ATB_OPSRUNNER_KERNEL_CACHE_LOCAL_COUNTNumber of slots for the local kernel cache.
  • When the number of slots increases, the cache hit rate is improved but the retrieval efficiency is reduced.
  • When the number of slots decreases, the retrieval efficiency is improved but the cache hit rate is reduced.
  • ATB_OPSRUNNER_SETUP_CACHE_ENABLESpecifies whether to enable the SetupCache function of the ATB. When detecting that the input and output tensors of the operation do not change, this function skips most of the processes of the setup to improve the performance on the scheduling side. This function is enabled by default for performance acceleration.
    ATB_STREAM_SYNC_EVERY_KERNEL_ENABLEUsed to locate the kernel where the error is reported. When the variable is set to 1, stream synchronization is performed when the execution of each kernel ends.
    ATB_STREAM_SYNC_EVERY_OPERATION_ENABLEUsed to locate the operation where the error is reported. When the variable is set to 1, synchronization is performed during the execution of each operation.
    ATB_STREAM_SYNC_EVERY_RUNNER_ENABLEUsed to locate the runner where the error is reported. When the variable is set to 1, stream synchronization is performed during the execution of each runner.
    ATB_SHARE_MEMORY_NAME_SUFFIXName suffix of the shared memory. When the communication operator is used by multiple users, this variable needs to be set to distinguish the shared memory.
    ATB_WORKSPACE_MEM_ALLOC_ALG_TYPEWorkspace memory allocation algorithms. The ATB selects different algorithms to compute the workspace size and allocation based on the environment variable configuration. You can select different algorithms to test the workspace allocation.
    ATB_WORKSPACE_MEM_ALLOC_GLOBALSpecifies whether to use the global intermediate tensor memory allocation algorithm. After this algorithm is used, the size of the intermediate tensor memory is computed and allocated.
    HOMEHome directory path of the current user
    LCCL_DETERMINISTICSpecifies whether to enable deterministic LCCL AllReduce (with order-preserving addition). Note that this function takes effect when rankSize ≤ 8. When enabled, it affects
  • Performance of some communication operators
  • Accumulation order of the lccl communication operators
  • LD_LIBRARY_PATHDynamic library search path (for Linux only).
    PATHExecutable file search path.
    PYTHONPATHPython module search path.
    TOOLCHAIN_HOMEInstallation path of the Toolkit toolchain.
    • Aura runtime uses open-source software. For the environment variables used by the relevant open-source software, refer to the corresponding software documentation.
    • Aura depends on CANN. During the operation of CANN, folders such as kernel_meta are generated. Aura does not have the function of dumping or deleting these files. You can use environment variables to manage files in a unified manner. For details, see Installation and Configuration > ASCEND_WORK_PATH in the CANN Environment Variable Reference.

    Supported Inference Backends

    Aura supports the following inference backends:

    Inference BackendDescription
    vllm-ascendAn Ascend NPU-adapted version based on the vLLM framework that provides high-performance LLM inference capabilities.

    Supported Training Backends

    Aura supports the following training backends:

    Training BackendDescription
    verlA verifiable reinforcement learning training framework that supports reinforcement learning algorithms such as PPO and GRPO.

    Supported Agent Backends

    Aura supports the following Agent backends:

    Agent BackendDescription
    rLLMAn LLM Agent framework based on reinforcement learning that supports tool calling and multi-turn conversations.

    Supported Models

    Aura supports the following models:

    Model NameParameter ScaleDescription
    Qwen3-4B4BA Qwen3-series dense model that uses the Transformer architecture and supports inference, coding, and multilingual capabilities.
    Qwen3-8B8BA Qwen3-series dense model that uses the Transformer architecture and has strong inference, coding, and multilingual capabilities.
    Qwen3-14B14BA Qwen3-series dense model that uses the Transformer architecture and has strong math, coding, and logical reasoning capabilities.
    Qwen3-32B32BA general-purpose Qwen3-series LLM that uses the Transformer architecture and has strong complex reasoning, coding, and Agent capabilities.
    Qwen3-30B-A3B30BA Qwen3-series MoE model that uses a sparse mixture-of-experts architecture. It activates about 3B parameters per token, balancing complex reasoning capability and computing efficiency.
    Qwen3.6-27B27BA Qwen3.6-series dense multimodal model that uses a hybrid architecture of Gated DeltaNet and Gated Attention and has strong complex reasoning and long-context understanding capabilities.
    Qwen3.6-35B-A3B35BA Qwen3.6-series MoE model that uses sparse mixture-of-experts and hybrid attention architectures. It activates about 3B parameters per token, balancing complex reasoning capability and computing efficiency.