Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fritzo
Copy link
Member

@fritzo fritzo commented Nov 10, 2017

Addresses #554

  • Changes mean_and_var tests to test sqrt(variance) rather than variance, so that mean and variance can reasonably share a precision parameter. (This probabilistic test fails in PyTorch v0.3.0 due to slightly changed randomness.)
  • Removes the flaky test_gradient_step_golden() test because it is not stable across pytorch versions.

Copy link
Collaborator

@martinjankowiak martinjankowiak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@fritzo
Copy link
Member Author

fritzo commented Nov 10, 2017

Ready to merge as soon as tests pass.

@neerajprad
Copy link
Member

Sorry, just seeing this now. Looks good, and thanks for taking care of this. Our unit tests are still randomly timing out, so #548 certainly was not enough. cc. @myhrvold

@neerajprad
Copy link
Member

Restarted the unit test; will merge once it passes.

@fritzo
Copy link
Member Author

fritzo commented Nov 10, 2017

Feel free to merge before integration tests, since this only changes a unit test.

@fritzo
Copy link
Member Author

fritzo commented Nov 10, 2017

@neerajprad Can we merge this so it makes it into the 0.1.2 release #553 ?

@neerajprad neerajprad merged commit 8fa57d5 into dev Nov 10, 2017
@neerajprad
Copy link
Member

Done.

@neerajprad neerajprad deleted the fix-tests-pytorch-v0.3.0 branch November 10, 2017 19:29
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.

4 participants