-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speedup model compilation in slow sampling tests
Add a specific FAST_COMPILE mode that skips canonicalization and specialization, while keeping rewrites that are required from aeppl and pymc for proper sampling. This mode is used in tests that take a long time to compile and for which numerical accuracy is not important (e.g., because we care only about the shape of the draws or deterministics of observed values)
- Loading branch information
1 parent
333f7f3
commit da7c5df
Showing
3 changed files
with
71 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters