-
Notifications
You must be signed in to change notification settings - Fork 39
Guide for operator level performance debugging
Yutao Xu edited this page Mar 25, 2025
·
3 revisions
- Install pytorch with torch-xpu-ops.
- Install torchvision/audio
pip install torchvision torchaudio --no-deps --index-url https://download.pytorch.org/whl/nightly/xpu
- Install triton using the following command:
pip install --force-reinstall "git+https://github.com/intel/intel-xpu-backend-for-triton@0bcc8265e677e5321606a3311bf71470f14456a8#subdirectory=python"
- Build install torch-benchmark from source:
rm -rf benchmark && git clone https://github.com/pytorch/benchmark
cd benchmark && git checkout 373ffb19dc470f4423a3176a4133f8f4b3cdb5bd && pip install -r requirements.txt
python install.py --continue_on_fail
pip install -e .
cd ..