Skip to content

Commit 3ee9979

Browse files
committed
implement multi-chain progress bars with ProgressMeter.jl
1 parent ececa17 commit 3ee9979

File tree

4 files changed

+248
-297
lines changed

4 files changed

+248
-297
lines changed

Project.toml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,20 @@ version = "5.6.2"
77

88
[deps]
99
BangBang = "198e06fe-97b7-11e9-32a5-e1d131e6ad66"
10-
ConsoleProgressMonitor = "88cd18e8-d9cc-4ea6-8889-5259c0d15c8b"
1110
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
1211
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
1312
LogDensityProblems = "6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c"
14-
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
15-
LoggingExtras = "e6f89c97-d47a-5376-807f-9c37f3926c36"
16-
ProgressLogging = "33c8b6b6-d38a-422a-b730-caa89a2f386c"
13+
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
1714
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1815
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
19-
TerminalLoggers = "5d786b92-1e48-4d6f-9151-6b4477ca9bed"
2016
Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"
2117

2218
[compat]
2319
BangBang = "0.3.19, 0.4"
24-
ConsoleProgressMonitor = "0.1"
2520
FillArrays = "1"
2621
LogDensityProblems = "2"
27-
LoggingExtras = "0.4, 0.5, 1"
28-
ProgressLogging = "0.1"
22+
ProgressMeter = "1.10.4"
2923
StatsBase = "0.32, 0.33, 0.34"
30-
TerminalLoggers = "0.1"
3124
Transducers = "0.4.30"
3225
julia = "1.6"
3326

src/AbstractMCMC.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
module AbstractMCMC
22

33
using BangBang: BangBang
4-
using ConsoleProgressMonitor: ConsoleProgressMonitor
54
using LogDensityProblems: LogDensityProblems
6-
using LoggingExtras: LoggingExtras
7-
using ProgressLogging: ProgressLogging
85
using StatsBase: StatsBase
9-
using TerminalLoggers: TerminalLoggers
106
using Transducers: Transducers
117
using FillArrays: FillArrays
128

139
using Distributed: Distributed
14-
using Logging: Logging
1510
using Random: Random
1611

1712
# Reexport sample
@@ -113,7 +108,6 @@ function setparams!!(model::AbstractModel, state, params)
113108
end
114109

115110
include("samplingstats.jl")
116-
include("logging.jl")
117111
include("interface.jl")
118112
include("sample.jl")
119113
include("stepper.jl")

src/logging.jl

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)