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

Resuming a non-reproducible chain #13

Closed
joezuntz opened this issue Dec 7, 2018 · 2 comments
Closed

Resuming a non-reproducible chain #13

joezuntz opened this issue Dec 7, 2018 · 2 comments

Comments

@joezuntz
Copy link

joezuntz commented Dec 7, 2018

It looks like it isn't possible to resume a chain that has external priors and likelihoods.

Is there a way around this? I have a run which I know is reproducible (because I can check externally) but because of the need to include dynamically generated information in a closure I need to use external functions.

If there isn't then an option to skip the check when resuming would be handy.

@JesusTorrado
Copy link
Contributor

Hi Joe,

I'll take a look at it next week. In the meantime, if you are sure that your input is the same, and just as a workaround, you can comment out the raise in line 121 of cobaya/output.py.

Have a nice weekend!
Jesús

@JesusTorrado
Copy link
Contributor

Fixed in 4b148b5 (v1.1.1). Now it ignores non-serializable Python objects when resuming.

Some complex cases may still fail. Let me know if that's the case, please. Closing for now.

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

2 participants