Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyTorch Implementation #1

Open
jh27kim opened this issue Nov 28, 2024 · 1 comment
Open

PyTorch Implementation #1

jh27kim opened this issue Nov 28, 2024 · 1 comment

Comments

@jh27kim
Copy link

jh27kim commented Nov 28, 2024

Hi, thanks for sharing the code publicly.

Do you have plans to release the code in PyTorch? even just for the core implementations? (PosteriorDenoiser)

@francois-rozet
Copy link
Owner

francois-rozet commented Dec 2, 2024

Hi @jh27kim, thank you for your interest!

We do not plan to release the code of the experiments in PyTorch. However the moment matching posterior sampling (MMPS) method is available in the Azula library, which is based on PyTorch. The implementation of MMPS in Azula supports the GMRES solver, which we found to work better than the conjugate gradient method when the denoiser is not optimal. If you need help applying the method, please open a discussion over there.

MMPS was also benchmarked against other posterior sampling methods in https://github.com/francois-rozet/mmps-benchmark, but we do not recommend using this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants