Skip to content

Conversation

@mcalman
Copy link
Contributor

@mcalman mcalman commented Nov 12, 2025

Fixes a bug where setting the environment variable ProfilerActivity=PrivateUse1 wouldn't enable the PrivateUse1 activities for AIU as intended.

This is because ActivityType::PRIVATEUSE1_RUNTIME and ActivityType::PRIVATEUSE1_DRIVER are enabled by default when passing torch.profiler.ProfilerActivity.CPU to torch.profiler.profile on newer versions of PyTorch (see: here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant