Skip to content

Add ACTIVITIES_ENABLE_CUDA_SYNC to Kineto OD config#1247

Open
ryanzhang22 wants to merge 1 commit intopytorch:mainfrom
ryanzhang22:export-D92274056
Open

Add ACTIVITIES_ENABLE_CUDA_SYNC to Kineto OD config#1247
ryanzhang22 wants to merge 1 commit intopytorch:mainfrom
ryanzhang22:export-D92274056

Conversation

@ryanzhang22
Copy link

Summary:
We currently don't have a way to disable cuda_sync events in OD.

In auto-trace, cuda_sync events are disabled by default, while they are enabled by default in OD. There is an existing ACTIVITIES_DISPLAY_CUDA_SYNC_WAIT_EVENTS option in OD, but setting this to false only disables CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_STREAM_WAIT_EVENT.

To avoid changing default behavior in OD, the flag defaults to True.

Differential Revision: D92274056

Summary:
We currently don't have a way to disable cuda_sync events in OD.

In auto-trace, cuda_sync events are disabled by default, while they are enabled by default in OD. There is an existing ACTIVITIES_DISPLAY_CUDA_SYNC_WAIT_EVENTS option in OD, but setting this to false only disables CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_STREAM_WAIT_EVENT.

To avoid changing default behavior in OD, the flag defaults to True.

Differential Revision: D92274056
@meta-cla meta-cla bot added the cla signed label Feb 4, 2026
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