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

Enable AutoNormal,AutoMultivariateNormal in contrib.epidemiology #2538

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

fritzo
Copy link
Member

@fritzo fritzo commented Jun 24, 2020

Addresses #2426

This adds support for AutoNormal and AutoMultivariateNormal guides to CompartmentalModel, whereas previously only AutoLowRankMultivariateNormal was supported.

This PR also switches to AutoNormal as the default guide. My reasoning is that AutoNormal is 2-3x faster and more robust than AutoLowRankMultivariateNormal (the current default), and if we optimize for new users writing new models, the cheap AutoNormal will be the first guide they will try to use, and thus is a good default. I've started using this workflow in my own modeling and have been happy with the ~30sec turnaround time between model changes and inference results.

Tested

  • added new smoke tests
  • ran new guides locally

@eb8680 eb8680 merged commit 5e8d475 into dev Jun 24, 2020
@eb8680 eb8680 deleted the sir-auto-normal branch June 24, 2020 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants