(Optional) Installing the Dynamic Capacity Expansion Operator Package of the on-chip memory

To enable dynamic capacity expansion of the on-chip memory, compile and install the related operator package.

Procedure

  1. Set CANN environment variables in the container.
    1
    source /usr/local/Ascend/cann/set_env.sh
    
  2. Download the Rec SDK.
  3. Decompress the package, go to the cust_op/ascendc_op/ai_core_op/cust_op_by_addr directory, and run the following command to compile and install the operator package for dynamic capacity expansion on the on-chip memory:
    1
    bash run.sh