Querying the Software Package Version

Perform the following operations to query the version information about the CANN package:

  • After installing Toolkit, run the example command to check the version information provided by the version field. Replace the installation path with the actual one. <arch> indicates the CPU architecture (aarch64 or x86_64).
    1
    cat ${HOME}/Ascend/cann/<arch>-linux/ascend_toolkit_install.info
    
  • After installing ops, run the example command to check the version information provided by the version field. Replace the installation path with the actual one. <arch> indicates the CPU architecture (aarch64 or x86_64).
    1
    cat ${HOME}/Ascend/cann/<arch>-linux/ascend_ops_install.info
    
  • After installing NNAL, run the example command to check the version information.
    • ATB acceleration library:
      1
      cat ${HOME}/Ascend/nnal/atb/latest/version.info
      
    • SiP acceleration library:
      1
      cat ${HOME}/Ascend/nnal/asdsip/latest/version.info