Skip to content

zarr store and GPU sampling #262

@Wmuntean

Description

@Wmuntean

I've noticed that when using zarr store and sampling a large model on a GPU via JAX, the trace is still in active memory as well as getting written out to the zarr store. Unfortunately, my system RAM runs out before sampling is complete (or just after sampling is complete and nutpie is doing post processing on the trace). I thought the expected behavior of setting zarr store was to provide some relief to the system memory requirements with large models. For reference, the same model sampled in PyMC with a numpyro backend is much more memory efficient but less performant despite numpyro using multiple GPUs. I know this issue lacks detail so let me know whether you need additional details or need a working example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions