Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unitrace hangs on windows with BMG but OK on Linux #81

Open
gaopengff opened this issue Jan 9, 2025 · 1 comment
Open

Unitrace hangs on windows with BMG but OK on Linux #81

gaopengff opened this issue Jan 9, 2025 · 1 comment

Comments

@gaopengff
Copy link

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?

@Sarbojit2019
Copy link
Contributor

Sarbojit2019 commented Feb 5, 2025

Hello @gaopengff,
Yes, Unitrace supports Windows. May I know if I can get the system to debug it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants