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

[core][compiled graphs] Support nsight.nvtx profiling #49392

Merged
merged 2 commits into from
Dec 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
up
Signed-off-by: Rui Qiao <[email protected]>
ruisearch42 committed Dec 21, 2024
commit 883a1e3059fc3f5aa8b9ce1529fb83d20fedfb72
3 changes: 2 additions & 1 deletion python/ray/dag/compiled_dag_node.py
Original file line number Diff line number Diff line change
@@ -25,7 +25,6 @@
from ray.experimental.channel.cached_channel import CachedChannel
from ray.experimental.channel.communicator import Communicator
from ray.dag.constants import (
RAY_CGRAPH_ENABLE_PROFILING,
RAY_CGRAPH_ENABLE_NVTX_PROFILING,
RAY_CGRAPH_VISUALIZE_SCHEDULE,
)
@@ -1595,6 +1594,8 @@ def _get_or_compile(
executable_tasks.sort(key=lambda task: task.bind_index)
self.actor_to_executable_tasks[actor_handle] = executable_tasks

from ray.dag.constants import RAY_CGRAPH_ENABLE_PROFILING

if RAY_CGRAPH_ENABLE_PROFILING:
exec_task_func = do_profile_tasks
else: