Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

Add COCOB Optimizer #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

HarshTrivedi
Copy link

This PR adds pytorch implementation of Cocob Optimizer, introduced in this paper. Feature request to add in pytorch/contrib is here.

Original Tensorflow implementation is here and this PR is based on this repo.

Apart of adding COCOB and it's tests, there is a small code refactor. A lot of code in TestSWA wasn't specific to testing SWA optimizer. So I have plucked that out into a general class TestOptim, and made TestSWA to inherit from TestOptim. TestCocob also inherits TestOptim to avoid code duplication.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant