Skip to content

Support parallel SGMCMC without needing torch.vmap #146

Description

@SamDuffield

Currently the user can run many independent chains of sgmcmc by utilizing torch.vmap themselves. However, torch.vmap doesn't compose with a lot of existing pytorch code. It might be nice to allow a boolean flag like batched or batched_param or parallel that allows the user to define the log_posterior that takes on input and output an additional batch dimension. This way parallel sgmcmc could be run without needed torch.vmap

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request (beyond just a new method)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions