Skip to content

Report divergences from JAX samplers #7041

Closed
@ricardoV94

Description

@ricardoV94

Description

PyMC users are used to getting an immediate report when there are divergences in the standard NUTS sampler. I suggest we print (log) this information when we call the JAX samplers on behalf of the users.

This can be specially puzzling when there are nan in the gradient and the whole sampling finishes in an instant without a single warning, even though there were 100% divergences.

Recent user question: https://discourse.pymc.io/t/sampling-with-blackjax-no-divergence-report/13394

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions