PPU runtime environment check

更新时间:
复制 MD 格式

To check the PPU runtime environment, use the following command:

asys status [<--ppu-env>] [app] [app args]

This command supports two check modes: static environment check and runtime environment check.

1. Static environment check

asys status --ppu-env

A static environment check does not require a target application. It can run standalone and checks only the environment where the asys status command is run.

The following shows sample output:

image

2. Runtime environment check

asys status --ppu-env <app> <app args>

The runtime environment check requires you to specify a target application. The asys status command launches the target application and injects a check library into its process to collect environment information. This enables the tool to detect runtime issues, such as when a PPU program fails because the target application modifies the PPU environment. A common example is a model program launched by a shell script.

The following shows sample output for the runtime environment check:

image

3. Check items

The PPU environment check tool includes the following eight check categories:

  1. PPU SDK validity and path check (static, runtime).

  2. PPU SDK software stack version compatibility check (static, runtime).

  3. PPU device validity check (static, runtime).

  4. CUDA residual file check (static, runtime).

  5. Docker environment check (static, runtime).

  6. Blocklist library check (static, runtime).

  7. Validity of PPU SDK libraries loaded by the target application (runtime).

  8. Shell log check for the target application (runtime).