Skip to content

Conversation

@yuanqing-wang
Copy link

No description provided.

@yuanqing-wang
Copy link
Author

@fritzo
Copy link
Member

fritzo commented Jul 25, 2023

Hi @yuanqing-wang, I'd recommend taking a look at our CONTRIBUTING.md, and in particular:

  • make format and make lint to work past linting errors
  • add torchcontrib to the EXTRAS_REQUIRE list in setup.py (and ideally lower bound a version so we know SWA is available)
  • add a test, probably in a new file tests/optim/test_swa.py
  • probably add a pytest.importorskip("torchcontrib") to your test
  • add a new automodule section to docs/source/pyro.optim.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants