bash docker_build.shThe image is based on
intel/oneapi:2025.3.1-0-devel-ubuntu24.04and installs Python, ccache, Miniforge, and other dependencies. The first build may take a while. Build logs are saved tocompose.txt.
Start the container using docker-compose.yml:
# Start the container in the background
docker compose up -d
# Enter the container
docker compose exec node bashOr start it directly with docker run:
docker run -it --rm \
--privileged \
--ipc=host \
--network=host \
--device /dev/dri:/dev/dri \
-v /mnt:/mnt \
-v $(pwd)/..:/workspace \
-w /workspace/xpu_weekly_report \
xpu-perf-weekly:latest \
bashNote: The
container_nameindocker-compose.ymlisyupengzh-xpu-perf. If multiple users share the same machine, updatenameandcontainer_nameindocker-compose.ymlaccordingly.
After entering the container, activate the conda environment and install all dependencies:
# Option 1: Run the full setup automatically (recommended for first-time use)
bash setup_baremetal.sh
# Option 2: Activate an already-set-up environment
source activate_env.shsetup_baremetal.sh performs the following steps:
- Install system packages (ccache, intel-ocloc)
- Create / activate the conda environment
xpu-perf-test(Python 3.12) - Install PyTorch XPU, numpy, and ninja
- Build vllm-xpu-kernels, auto-round, sycl-tla, and oneDNN
- Prepare the xpu-perf repository
bash run_test.sh [REPORT_DIR]REPORT_DIR: Optional. Specifies the output directory for reports. Defaults toreports/reports_<timestamp>.- Results are saved under the specified
REPORT_DIRafter the tests complete.
docker compose down