openxla / openxla/xla

Precompiled XLA libraries

Open
#17,618 0 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
4.5k
Forks
939
Avg merge
1d 12h
Merged PRs (30d)
471

Description

Building any program that uses XLA to perform calculations is currently very difficult. It has to be compiled in from source. It's incompatible with any build system other than Bazel. It's huge and takes a very long time to compile.

This could be made much easier by providing precompiled libraries that programs could link against. You could just download the version for your platform and point the compiler at the include and lib directories.

https://github.com/elixir-nx/xla has already done all the hard work of figuring out how to do this. Their libraries aren't generally useful, though, because they only include the features needed for EXLA. They don't even support the minimal JAX C++ example, because they're missing the tools directory. They also don't provide libraries for Windows.

Officially supported precompiled libraries that come directly from OpenXLA would do a lot to enable wider use of XLA. It would be a great benefit to the developer community.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.