PPU runtime environment check

Updated at:
Copy as MD

Asight Systems provides a command to check the PPU environment. Use the following syntax:

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 runs independently and checks only the environment where the asys status command is executed.

The following is an example of the output:

image

2. Runtime environment check

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

A runtime environment check requires a target application. The asys status command starts the target application and injects a check library into its process to collect environment information. This check helps you diagnose PPU program exceptions that result from modifications to the PPU environment during execution, for example, when a model program is launched from a shell script.

The following is an example of the output for a runtime environment check:

image

3. Check items

The PPU environment check tool performs the following eight checks:

  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. Residual file check for third-party GPU software stacks (static, runtime).

  5. Docker environment check (static, runtime).

  6. Blocklisted library files check (static, runtime).

  7. Validity check of PPU SDK library files loaded by the target application (runtime).

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