-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Suggest var_names
when using deprecated API for partial traces
#7289
Conversation
] |
An alternative is |
Thanks @lancechua, this seems fine |
var_names
when using deprecated API for partial traces
Co-authored-by: Ricardo Vieira <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lancechua !
…ces (pymc-devs#7289)" This reverts commit 881030a.
…c-devs#7289) * Update docs when list is passed to trace in sample for partial trace * Change DeprecationWarning to ValueError Co-authored-by: Ricardo Vieira <[email protected]> * Update test_partial_trace_unsupported --------- Co-authored-by: Ricardo Vieira <[email protected]>
Description
Sampling a partial trace was first done in #271, with the
trace
kwarg.Then, it subsequently removed in #6269 raising
DeprecationWarning
error.Partial trace was added back with the
var_names
kwarg in #7206.This PR updates the error message to reference the new
var_names
kwarg instead, astrace
may still be suggested by coding LLMs.Related Issue
Checklist
Type of change
📚 Documentation preview 📚: https://pymc--7289.org.readthedocs.build/en/7289/