pti-gpu
pti-gpu copied to clipboard
Unitrace hangs on windows with BMG but OK on Linux
I have tried to use unitrace to analyze my pytorch program with xpu device. Here is my simple program:
import torch
from torch.profiler import profile, ProfilerActivity
a = torch.randn(3).xpu()
b = torch.randn(3).xpu()
with torch.autograd.profiler.emit_itt(record_shapes=False):
c = a + b
print(prof.key_averages().table())
I followed the instructions to build unitrace on windows, which has a BMG GPU. It hangs with the following command:
unitrace --chrome-kernel-logging --chrome-device-logging C:\Users\demouser\miniforge3\envs\test_torch\python.exe .\simple.py
Does unitrace support windows platform?
Hello @gaopengff, Yes, Unitrace supports Windows. May I know if I can get the system to debug it?
@gaopengff With the latest unitrace, do you still have this issue? Can it be closed?
This issue does not exist. I'll close it.