An open API service indexing awesome lists of open source software.

https://github.com/nathom/jax-profiler

Memory profiler for JAX
https://github.com/nathom/jax-profiler

Last synced: 5 months ago
JSON representation

Memory profiler for JAX

Awesome Lists containing this project

README

          

# jax-profiler

Memory profiler for JAX

## Usage

Create profiler logs

```python
from jaxprof import JaxProfiler

profiler = JaxProfiler()
def some_jax_code():
...
profiler.capture()
...
```

or run it in the background

```python
profiler.capture_in_background()
```

Generate plots from profiler logs

```bash
python jaxprof.py --help
```