Support mybinder.org via pymc3, py2#441
Open
nealmcb wants to merge 3 commits intoCamDavidsonPilon:masterfrom
Open
Support mybinder.org via pymc3, py2#441nealmcb wants to merge 3 commits intoCamDavidsonPilon:masterfrom
nealmcb wants to merge 3 commits intoCamDavidsonPilon:masterfrom
Conversation
Note that first the Ch2 PyMC3 notebook needed this adjustment "Kernel/Change kernel/Python 2" Then after a "Cell/Run All", there is an error message in the cell containing `trace = pm.sample(40000, step=step)`: Multiprocess sampling (4 chains in 4 jobs) CompoundStep >Metropolis: [freq_cheating] >BinaryGibbsMetropolis: [truths, first_flips, second_flips] /srv/conda/envs/kernel/lib/python2.7/site-packages/joblib/externals/loky/process_executor.py:700: UserWarning: A worker stopped while some jobs were given to the executor. This can be caused by a too short worker timeout or by a memory leak. "timeout or by a memory leak.", UserWarning Perhaps the sample parameter chould be reduced to reduce the time, or a comment could be added noting that it takes perhaps 25 minutes to run the cell?
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work in progress to get this running under Binder (beta), the free Jupyter notebook execution environment in the cloud.
To use: just click on
launch binderbutton in README.md (which will have to have new parameters to track the proper repo and branch during a successful PR).Wait for it to start, then switch to a Python 2 kernel and run all cells.
But observe it timeout in cell 38 or so, as documented in the commits.
Anyone know how to get it running in Python 3?
Or make Python 2 the default kernel for the notebooks?