alpa icon indicating copy to clipboard operation
alpa copied to clipboard

How to build debug-version Alpa-modified jaxlib

Open caixiiaoyang opened this issue 1 year ago • 3 comments

I want to compile a debuggerable version of jaxlib modified by alpa from the source code so that I can enter the c++ underlying code debugging. It seems that it cannot be done according to the official tutorial.

caixiiaoyang avatar Oct 12 '23 06:10 caixiiaoyang

"""To build with debug information, add the flag --bazel_options='--copt=/Z7'.""" FROM https://jax.readthedocs.io/en/latest/developer.html#id1 不过这个是基于最新的openxla的回答了,不确定这个0.3.22的能不能用 btw,可以加个vx交流一下吗老哥

Lssyes avatar Oct 14 '23 01:10 Lssyes

"""要使用调试信息进行构建,请添加标志 --bazel_options='--copt=/Z7'。""" FROM https://jax.readthedocs.io/en/latest/developer.html#id1 不过这个是基于最新的openxla的回答了,这个不确定0.3.22的能不能用 btw,可以加个vx交流一下吗老哥

可以,我的微信号是13140163867

caixiiaoyang avatar Oct 15 '23 08:10 caixiiaoyang

@Lssyes can you help me with that https://github.com/alpa-projects/alpa/issues/960?

"""To build with debug information, add the flag --bazel_options='--copt=/Z7'.""" FROM https://jax.readthedocs.io/en/latest/developer.html#id1 不过这个是基于最新的openxla的回答了,不确定这个0.3.22的能不能用 btw,可以加个vx交流一下吗老哥

Ghiad avatar Oct 18 '23 03:10 Ghiad