Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Add torch.no_grad() decorator to sampling methods #243

@Warvito

Description

@Warvito

In the inferers, it is not necessary to use the gradients during the sampling. Suggest to use the same approach used for get_likelihood and add @torch.no_grad() decorator to the function

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions