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

Strange Python dependencies required in WORKSPACE file for running C++ XLA code #15024

Open
joaospinto opened this issue Jul 17, 2024 · 0 comments

Comments

@joaospinto
Copy link

joaospinto commented Jul 17, 2024

I was trying to do some C++-only workflows with XLA (HLO -> AOT-compiled code, execute AOT-compiled code, etc), and was surprised that I had to add a bunch of Python-related things to my WORKSPACE file.

This is a minimal example of what I had to add for things to work: https://github.com/joaospinto/call_jax_from_cpp/blob/main/WORKSPACE

Is this expected? Could it be that there are some undesirable transitive dependencies on Python targets in your Bazel dependency tree? It seems a bit suspicious.

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

No branches or pull requests

1 participant