TuringLang / ParetoSmooth.jl

An implementation of PSIS algorithms in Julia.
http://turinglang.org/ParetoSmooth.jl/
MIT License
19 stars 12 forks source link

Setup CI and Documenter #33

Closed mohamed82008 closed 3 years ago

mohamed82008 commented 3 years ago

This PR sets up CI and documenter for this package. CI wasn't working because of the master/main branch name confusion.

mohamed82008 commented 3 years ago

@ParadaCarleton I think the tests are failing. But that's not related to this PR.

ParadaCarleton commented 3 years ago

@mohamed82008 Thanks, that's very weird. They're all doing just fine locally. Perhaps there's something weird with floats? I know @fastmath can give different results on different hardware...

ParadaCarleton commented 3 years ago

Ahh, hmm, it seems like it can't sample multiple chains in parallel? Maybe that's why. Does the behavior of chains change when they're sampled in parallel? Maybe the RNG is different -- the tests set a seed, but maybe chains sampled in parallel use their own RNGs, while chains sampled in series all use a different RNG.

mohamed82008 commented 3 years ago

I will need to look into it.

ParadaCarleton commented 3 years ago

Hmm; I'll merge for now then.