Skip to content

Conversation

@devmotion
Copy link
Member

No description provided.

Project.toml Outdated
name = "Turing"
uuid = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
version = "0.26.6"
version = "0.26.7"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that actually the PR is breaking since Optim.optimize is not reexported automatically anymore. That is, if someone triggered Requires/the extension with import Optim it is not possible anymore to run optimize(....) - one has to run using Optim or at least using Optim: optimize explicitly-

Copy link
Member

@yebai yebai Jul 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's alright. I think it is better that users explicitly write Optim.optimize/using Optim: optimize

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then we need to bump the version, no?

@github-actions
Copy link
Contributor

github-actions bot commented Jul 25, 2023

Pull Request Test Coverage Report for Build 5671837474

  • 0 of 30 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Turing.jl 0 9 0.0%
ext/TuringOptimExt.jl 0 21 0.0%
Totals Coverage Status
Change from base Build 5593032197: 0.0%
Covered Lines: 0
Relevant Lines: 1458

💛 - Coveralls

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (e32bb71) 0.00% compared to head (b1a2013) 0.00%.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #2051   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files          22      22           
  Lines        1449    1458    +9     
======================================
- Misses       1449    1458    +9     
Files Changed Coverage Δ
ext/TuringOptimExt.jl 0.00% <0.00%> (ø)
src/Turing.jl 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JaimeRZP JaimeRZP self-requested a review July 26, 2023 08:47
JaimeRZP

This comment was marked as outdated.

Copy link
Member

@JaimeRZP JaimeRZP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one question but looks very good and straight forward otherwise!!

Copy link
Member

@torfjelde torfjelde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM though it should be made breaking as you've mentioned @devmotion

Project.toml Outdated
name = "Turing"
uuid = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
version = "0.26.6"
version = "0.26.7"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then we need to bump the version, no?

@yebai yebai merged commit 75961e7 into master Jul 26, 2023
@yebai yebai deleted the dw/optim branch July 26, 2023 17:24
@yebai
Copy link
Member

yebai commented Jul 26, 2023

Thanks @devmotion!

yebai added a commit that referenced this pull request Jul 27, 2023
* CompatHelper: bump compat for Bijectors to 0.13, (keep existing compat)

* Update Project.toml

* Replacement for #2039 (#2040)

* Fix testset for external samplers

* Update abstractmcmc.jl

* Update test/contrib/inference/abstractmcmc.jl

Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>

* Update test/contrib/inference/abstractmcmc.jl

Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>

* Update FillArrays compat to 1.4.1 (#2035)

* Update FillArrays compat to 1.4.0

* Update test compat

* Try to enable ReverseDiff tests

* Update Project.toml

* Update Project.toml

* Bump version

* Revert dependencies on FillArrays (#2042)

* Update Project.toml

* Update Project.toml

* Fix redundant definition of `getstats` (#2044)

* Fix redundant definition of `getstats`

* Update Inference.jl

* Revert "Update Inference.jl"

This reverts commit e4f51c2.

* Bump version

---------

Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>

* Transfer some test utility function into DynamicPPL (#2049)

* Update OptimInterface.jl

* Only run optimisation tests in numerical stage.

* fix function lookup after moving functions

---------

Co-authored-by: Xianda Sun <sunxdt@gmail.com>

* Move Optim support to extension (#2051)

* Move Optim support to extension

* More imports

* Update Project.toml

---------

Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>

---------

Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org>
Co-authored-by: haris organtzidis <organtzh@gmail.com>
Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: Xianda Sun <sunxdt@gmail.com>
Co-authored-by: Cameron Pfiffer <cpfiffer@gmail.com>
yebai added a commit that referenced this pull request Aug 16, 2023
* first draft

* abstractcontext + tests

* bug

* externalsampler() in tests

* Name Tupple problems

* moving stuff to DynamicPPL RP

* using new DynamicPPL PR

* mistakenly removed line

* specific constructors

* no StaticMH RWMH

* Bump bijectors compat (#2052)

* CompatHelper: bump compat for Bijectors to 0.13, (keep existing compat)

* Update Project.toml

* Replacement for #2039 (#2040)

* Fix testset for external samplers

* Update abstractmcmc.jl

* Update test/contrib/inference/abstractmcmc.jl

Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>

* Update test/contrib/inference/abstractmcmc.jl

Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>

* Update FillArrays compat to 1.4.1 (#2035)

* Update FillArrays compat to 1.4.0

* Update test compat

* Try to enable ReverseDiff tests

* Update Project.toml

* Update Project.toml

* Bump version

* Revert dependencies on FillArrays (#2042)

* Update Project.toml

* Update Project.toml

* Fix redundant definition of `getstats` (#2044)

* Fix redundant definition of `getstats`

* Update Inference.jl

* Revert "Update Inference.jl"

This reverts commit e4f51c2.

* Bump version

---------

Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>

* Transfer some test utility function into DynamicPPL (#2049)

* Update OptimInterface.jl

* Only run optimisation tests in numerical stage.

* fix function lookup after moving functions

---------

Co-authored-by: Xianda Sun <sunxdt@gmail.com>

* Move Optim support to extension (#2051)

* Move Optim support to extension

* More imports

* Update Project.toml

---------

Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>

---------

Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org>
Co-authored-by: haris organtzidis <organtzh@gmail.com>
Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: Xianda Sun <sunxdt@gmail.com>
Co-authored-by: Cameron Pfiffer <cpfiffer@gmail.com>

* Bugfixes.

* Add TODO.

* Update mh.jl

* Update Inference.jl

* Removed obsolete exports.

* removed unnecessary import of extract_priors

* added missing ) in MH tests

* fixed incorrect referneces to AdvancedMH in tests

* improve ESLogDensityFunction

* remove hardcoding of SimpleVarInfo

* added fixme comment

* minor style changes

* fixed issues with MH with RandomWalkProposal being used as an external sampler

* fixed accidental typo

* move definitions of unflatten for NamedTuple

* improved TODO

* Update Project.toml

---------

Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>
Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org>
Co-authored-by: haris organtzidis <organtzh@gmail.com>
Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: Xianda Sun <sunxdt@gmail.com>
Co-authored-by: Cameron Pfiffer <cpfiffer@gmail.com>
Co-authored-by: Hong Ge <hg344@cam.ac.uk>
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

Successfully merging this pull request may close these issues.

4 participants