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

Trigger theano model compilation at install time #207

Open
bsipocz opened this issue Mar 3, 2020 · 2 comments
Open

Trigger theano model compilation at install time #207

bsipocz opened this issue Mar 3, 2020 · 2 comments
Milestone

Comments

@bsipocz
Copy link
Member

bsipocz commented Mar 3, 2020

It can be a rather disheartening first time experience to wait minutes for the theano compilation. Would be much nicer to do it at install time for all astroML implemented models.

@bsipocz bsipocz added this to the 1.0 milestone Mar 3, 2020
@bsipocz
Copy link
Member Author

bsipocz commented Mar 7, 2020

The compiled models are usually cached in the user's home under .theano. Another task is to see how could files propagated to users if the package is centrally installed (and trigged compilation).

@bsipocz
Copy link
Member Author

bsipocz commented Mar 7, 2020

Another issue: if pymc3 is an optional dependency, we certainly cannot provide this functionality when it's not installed. But that's OK I think, those users will see the first time running the pymc3 reliant code to be slightly slower.

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

1 participant