Skip to content
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

[pytorch] Add strong Wolfe line search for lbfgs #8824

Closed
wants to merge 9 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'master' into lbfgs
  • Loading branch information
fehiepsi authored Nov 7, 2018
commit 8a0851869115a5d9ac4d055461f3110a4e53db7a
8 changes: 0 additions & 8 deletions test/test_optim.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,6 @@ def test_rprop(self):
optim.Rprop(None, lr=1e-2, etas=(1.0, 0.5))

def test_lbfgs(self):
self._test_rosenbrock(
lambda params: optim.LBFGS(params),
wrap_old_fn(old_optim.lbfgs)
)
self._test_rosenbrock(
lambda params: optim.LBFGS(params, lr=1, max_iter=5),
wrap_old_fn(old_optim.lbfgs, learningRate=1, maxIter=5)
)
self._test_basic_cases(
lambda weight, bias: optim.LBFGS([weight, bias]),
ignore_multidevice=True
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.