-
Notifications
You must be signed in to change notification settings - Fork 8
Add JuliaBUGS extension #69
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
base: main
Are you sure you want to change the base?
Conversation
|
TuringCallbacks.jl documentation for PR #69 is available at: |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #69 +/- ##
==========================================
+ Coverage 59.76% 63.81% +4.05%
==========================================
Files 7 8 +1
Lines 169 199 +30
==========================================
+ Hits 101 127 +26
- Misses 68 72 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Pull request overview
This PR adds JuliaBUGS extension support to TuringCallbacks, enabling TensorBoard logging for models using the JuliaBUGS probabilistic programming framework. The extension implements the required callback interface methods to extract parameters, statistics, and hyperparameters from JuliaBUGS model transitions during MCMC sampling.
Key changes:
- Implements JuliaBUGS extension with callback interface methods for parameter extraction, extras, and hyperparameters
- Adds comprehensive test suite for JuliaBUGS integration using a subprocess to avoid conflicts with Turing
- Updates project dependencies to include JuliaBUGS, AbstractMCMC, and AdvancedHMC as weak dependencies
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| ext/TuringCallbacksJuliaBUGSExt.jl | New extension module implementing params_and_values, extras, hyperparams, and hyperparam_metrics functions for JuliaBUGS models with AdvancedHMC transitions |
| test/juliabugscallback.jl | Comprehensive test suite validating TensorBoard callback functionality with JuliaBUGS models including parameter logging, exclusion filters, extras, and hyperparameters |
| test/runtests.jl | Integrates JuliaBUGS tests via subprocess execution to prevent package conflicts between Turing and JuliaBUGS |
| test/Project.toml | Adds test dependencies for JuliaBUGS, AbstractMCMC, AdvancedHMC, ForwardDiff, and Random |
| Project.toml | Declares JuliaBUGS, AbstractMCMC, and AdvancedHMC as weak dependencies and registers the new extension |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@yebai AI reviews are settled, and I bumped version to 0.5.0 |
No description provided.