intel / intel-xpu-backend-for-triton

OpenAI Triton backend for Intel® GPUs
MIT License
143 stars 44 forks source link

[UT][E2E][CI] Capture GPU runtime parameters #1036

Closed vlad-penkin closed 6 months ago

vlad-penkin commented 6 months ago

Requirements

Capture runtime env parameter in reports:

  1. Diver version
  2. GPU device name
  3. Agama version

Implementation approach

Shell script which can be integrated in UT test runner script , GH UT and E2E workflows which saves captured parameters to the separated files. This ticket is part of the:

For each runtime env parameter new txt file in the reports folder should be created.

Notes on how to get these information

Driver version

apt info libigc1 | grep -oP 'Version: \K[^~]+' >libigc1_version.txt
apt info intel-level-zero-gpu  | grep -oP 'Version: \K[^~]+' >level-zero_version.txt

GPU

xpumcli discovery | grep "Device Name" | sed -n 's/.*Device Name: \(.*\)\s*|/\1/p' >gpu.txt

Agama

Capture base number

apt info libigc1 | grep Version | sed 's/.*-\(.*\)~.*/\1/')

gshimansky commented 6 months ago

Script to get these hardware details is implemented here https://github.com/intel/intel-xpu-backend-for-triton/pull/1053

gshimansky commented 6 months ago

PR merged, HW data should now be collected for e2e workloads.