Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pymc_extras/inference/pathfinder/lbfgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@ def minimize(self, x0) -> tuple[NDArray, NDArray, int, LBFGSStatus]:
# threshold determining if the number of update mask is low compared to iterations
low_update_threshold = 3

logging.warning(f"LBFGS status: {result} \n nit: {result.nit} \n count: {history.count}")

if history.count <= 1: # triggers LBFGSInitFailed
if result.nit < low_update_threshold:
lbfgs_status = LBFGSStatus.INIT_FAILED
Expand Down
Loading