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

Add debug mode support for python backend #324

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

so2bin
Copy link

@so2bin so2bin commented Nov 28, 2023

This commit introduces a debug mode for the Triton Python backend. When the environment variable TRITON_DEBUG is set to "1", the backend will import the debugpy module and start listening on a specified port (TRITON_DEBUG_PORT, default is 8003). This feature allows developers to debug their Python backend code with IDE like vscode more effectively.

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

Successfully merging this pull request may close these issues.

1 participant