Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenEverson authored Mar 26, 2024
1 parent 9d3092a commit b5d6027
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ As a singular college student working on this crate for fun to better understand

### Running code locally

To begin, please follow the same instructions listed in the README to ensure XLA is properly installed and sourced on your machine.

1) Identify the [latest compatible versions of CUDA and cuDNN](https://www.tensorflow.org/install/source#gpu). Adapt [these instructions](https://medium.com/@gokul.a.krishnan/how-to-install-cuda-cudnn-and-tensorflow-on-ubuntu-22-04-2023-20fdfdb96907) to install the two version of CUDA and cuDNN together.

2) Install `clang` and `libclang1`.

3) Download and extract [xla_extension](https://github.com/elixir-nx/xla/releases/tag/v0.6.0).

4) Make sure `LD_LIBRARY_PATH` includes `/path/to/xla_extension/lib`, and make sure the relevant CUDA paths are also visible to the system.

Assuming you downloaded unda to `/home/user/unda` and you want to run
the crate locally, it's relatively self explanatory as you would run any rust project:
```bash
Expand Down

0 comments on commit b5d6027

Please sign in to comment.