Skip to content

Commit

Permalink
Squashed commit - documentation matplotlib
Browse files Browse the repository at this point in the history
Add information to documentation about that some test targets required matplotlib - squashed commit

Add information to documentation about that some test targets, like a `//tests:logpcg_tests` optionally use matplotlib, so the user may need to `pip install matplotlib` to run tests via bazel (#18660)

Squashed commit - documentation matplotlib
  • Loading branch information
mmarcinmichal committed Nov 28, 2023
1 parent 025aa0d commit b9f7021
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ MULTI_GPU="--run_under $PWD/build/parallel_accelerator_execute.sh --test_env=JAX
bazel test //tests:gpu_tests //tests:backend_independent_tests --test_env=XLA_PYTHON_CLIENT_PREALLOCATE=false --test_tag_filters=-multiaccelerator $MULTI_GPU
```

Some test targets, like a `//tests:logpcg_tests` optionally use matplotlib, so you may need to `pip
install matplotlib` to run tests via bazel.

### Using `pytest`

To run all the JAX tests using `pytest`, we recommend using `pytest-xdist`,
Expand Down

0 comments on commit b9f7021

Please sign in to comment.