Skip to content

Commit

Permalink
Merge pull request #974 from rkingsbury/deps
Browse files Browse the repository at this point in the history
Dependency tweaks
  • Loading branch information
rkingsbury committed Jun 21, 2024
2 parents 50bc96f + 3ea3536 commit 32f80ef
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/getting_started/running_builders.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ These event docs also contain the `builder`, a `build_id` which is unique for ea

## Profiling Memory Usage of Builders

`mrun` can optionally profile the memory usage of a running builder by using the Memray Python memory profiling tool ([Memray](https://github.com/bloomberg/memray)). To get started, Memray should be installed in the same environment as `maggma` using `pip install memray`.
`mrun` can optionally profile the memory usage of a running builder by using the Memray Python memory profiling tool ([Memray](https://github.com/bloomberg/memray)). To get started, Memray should be installed in the same environment as `maggma` using `pip install memray` (r `pip install maggma[memray]`).

Setting the `--memray` (`-m`) option to `on`, or `True`, will signal `mrun` to profile the memory usage of any builders passed to `mrun` as the builders are running. The profiler also supports profiling of both single and forked processes. For example, spawning multiple processes in `mrun` with `-n` will signal the profiler to track any forked child processes spawned from the parent process.

Expand Down
17 changes: 17 additions & 0 deletions docs/reference/stores.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
!!! note
Some `Store` classes require extra packages that are not installed by default. Run the following modified installation commands if you want
to use these stores:

`MongograntStore`:
```shell
pip install maggma[mongogrant]
```
`MontyStore`:
```shell
pip install maggma[montydb]
```
`VaultStore`:
```shell
pip install maggma[vault]
```

::: maggma.stores.mongolike

::: maggma.stores.file_store
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
"pandas>=2.2",
"jsonlines>=4.0.0",
"aioitertools>=0.5.1",
"numpy>=1.17.3",
"numpy>=1.17.3, <2",
"pyzmq>=24.0.1",
"dnspython>=1.16.0",
"sshtunnel>=0.1.5",
Expand Down

0 comments on commit 32f80ef

Please sign in to comment.