-
-
Notifications
You must be signed in to change notification settings - Fork 986
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
Pyro.plate in multiple GPUs #2354
Comments
Hi @odie2630463, thanks for the detailed report, this is an interesting issue! I think Pyro models will generally not work with One workaround is to use Another workaround is to use Can you give me an idea of the larger context in which you're running the model? Are you using SVI or HMC? |
Hi all , thanks detailed advice , I will try and report results. To fix this , I use Trace_ELBO class get_traces function to get model and guide trace. And can work well. But I don't know why so I don't know how to report this problem. |
Issue Description
I implement model with plate statement and train SVI on GPUs , but got some error.
Question from forum
Environment
For any bugs, please provide the following:
Code Snippet
And from forum answer , I try this model is working
I think run Pyro in GPUs need to separate deterministic and stochastic in different model , deterministic part can run on GPUs and stochastic only use cpu to compute tracer. But in my case , I need to implement complex model , it not very convenient.
The text was updated successfully, but these errors were encountered: