Skip to content

Consider disabling PyTensor GC in sampling functions #7539

Open
@ricardoV94

Description

Description

This could avoid many reallocation between function calls in the step samplers and improve throughput.

We just have to remember to call it manually when sampler finishes or is aborted.

Before we decide to go down that route we should benchmark to see if it actually helps

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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