python_backend
python_backend copied to clipboard
Add debug mode support for python backend
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.