-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Check list for Theano 1.0.0 #2723
Comments
Just for completeness, I include the link to the discussion on compilation slowdown. In my case the combination of pymc3 3.1 with theano 1.0 worked just fine (fast compilation), only after upgrading to pymc3 3.2 I noticed a big (10x) compilation slowdown. Now I have to wait minutes for my model to compile, while it was seconds in pymc3 3.1. |
Not only the compilation is slower but it generates slower code altogether (I mean ADVI here). With pymc3 3.1 on a GPU I'm getting 134 it/s, after upgrading to 3.2 it's down to 109 it/s. On top of that the value of the loss function differs by an order of magnitude between versions (although the VI results do not). That's on a modified version of the VAE from here, perhaps the slowdowns are visible there too. I wanted to test it on the original VAE notebook but for some reason the GPU version doesn't work directly on 3.1 (despite changing the |
@pwl Can you check if the compilation slowdown is also present with 3.1 under theano 1.0? I.e. is it theano or pymc3. |
All tests were done with theano 1.0. |
OK, so just to make absolutely sure: compilation times under theano 1.0 are much slower with pymc 3.2 than 3.1? Is this for ADVI only for also for NUTS? |
Yes, it's compilation times for a GPU with pymc3 3.1 vs 3.2, both with theano 1.0, running ADVI. I can't say anything about NUTS. |
This is normal right? as in 3.2 the VI module is much more complex. |
Theano 1.0.0 is set for the project, however, the remaining two points should still be addressed. |
#2847 WIP for fixing the last point |
Some user complain about recent slowdown of PyMC3, which I think might be theano 1.0 related. So here is an (incomplete) list of the things we should check/fix before upgrade to theano 1.0
Please add/edit if I miss anything.
The text was updated successfully, but these errors were encountered: