-
Notifications
You must be signed in to change notification settings - Fork 219
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
Bringback old getparams #2086
Bringback old getparams #2086
Conversation
@torfjelde Could you quickly have a look? It is just one line of code that I need to connect some external samplers to Turing. |
Maybe it would be better to finish TuringLang/AbstractMCMC.jl#86? |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #2086 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 21 21
Lines 1451 1452 +1
======================================
- Misses 1451 1452 +1
☔ View full report in Codecov by Sentry. |
I completely agree that this is ultimately the correct solution. |
Am away from computer atm; will have a look when I get back.
…On Sat, Sep 23, 2023, 11:53 AM Jaime RZ ***@***.***> wrote:
Maybe it would be better to finish TuringLang/AbstractMCMC.jl#86
<TuringLang/AbstractMCMC.jl#86>?
I completely agree that this is ultimately the correct solution.
This is just an extremely quick patch to allow external libraries to
connect to Turing.
The latest change broke a lot of connections, this brings back that
functionality while we work on the proper solution.
—
Reply to this email directly, view it on GitHub
<#2086 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUPZZFM45TXGYPOFFYPEADX325TTANCNFSM6AAAAAA5DHHO5E>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sorry, why can't we just provide the model and use the existing |
And I'm also very much in favor of what @devmotion is suggesting |
Because that's not the signature of getparams used in TuringTransition. See code here |
Sure, but there's nothing stopping us from just changing |
Sure. |
getparams(t) = t.θ
is extremely useful to connect external samplers to Turing whileget properly pushed into abstractmcmc.