pathfinder: save diagnostics when num_paths=1
, save_single_paths=0
and arg diagnostics_file
specified
#1189
Labels
num_paths=1
, save_single_paths=0
and arg diagnostics_file
specified
#1189
Summary:
Current logic for pathfinder config overlooks above edge case; if user specifies
num_paths=1
anddiagnostics_file="foo"
, diagnostics filefoo.json
is created but is empty.Description:
Problem is here:
cmdstan/src/cmdstan/command.hpp
Lines 258 to 259 in 763beb9
the pathfinder service only produces diagnostics if argument
save_iterations
is true. add logic to check for diagnostics_file arg.Reproducible Steps:
Current Output:
diagnostics file
foo.json
exists but it empty.Expected Output:
diagnostics file
foo.json
contains ELBO iterations.Current Version:
v2.33.RC1
The text was updated successfully, but these errors were encountered: