Skip to content

Reduce deepcopy for VarInfo #237

@yebai

Description

@yebai

The current implementation of HMC/NUTS contains many calls to deepcopy for VarInfo. This substantially increases memory allocation and may deteriorate performance. Perhaps we can share the same VarInfo between leapfrog iterations that belong to a single HMC/NUTS proposal (or sample).

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