admin管理员组文章数量:1344688
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
1 Answer
Reset to default 0Why 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.
本文标签: pytorchDebug jax In vscodeStack Overflow
版权声明:本文标题:pytorch - Debug jax In vscode - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743736463a2530103.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论