pytorch - Debug jax In vscode - Stack Overflow

Why can't I use a vscode debugger to debug jax code, specifically pure functions. I understand tha

Why can't I use a vscode debugger to debug jax code, specifically pure functions. I understand that they provide their own framework for debugging but vscode debugger is quite comfortable. Is this because vscode debugger in the first attempt captures compile time?

Why can't I use a vscode debugger to debug jax code, specifically pure functions. I understand that they provide their own framework for debugging but vscode debugger is quite comfortable. Is this because vscode debugger in the first attempt captures compile time?

Share Improve this question asked 1 hour ago akshatakshat 212 bronze badges New contributor akshat is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. 1
  • Have you any sample project, toy project related to this idea, share to me? – Vy Do Commented 1 hour ago
Add a comment  | 

1 Answer 1

Reset to default 0

Why can't I use a vscode debugger to debug jax code, specifically pure functions.

You can use vscode interactive debugging – during tracing, which is when the Python part of the code is running. You can't (as far as I know) use vscode interactive debugging during execution of the compiled kernels that the traced code dispatches to.

For more information on JAX's computational model, you could start with JAX Key Concepts: Tracing and continue through the tutorials from there.

JAX provides some specific tools for debugging within this traced computational model; you can read about them at JAX: debugging.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743736464a4498353.html

相关推荐

  • pytorch - Debug jax In vscode - Stack Overflow

    Why can't I use a vscode debugger to debug jax code, specifically pure functions. I understand tha

    6天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信