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

prune tests #564

Merged
merged 4 commits into from
Dec 4, 2019
Merged

prune tests #564

merged 4 commits into from
Dec 4, 2019

Conversation

Borda
Copy link
Member

@Borda Borda commented Dec 1, 2019

What does this PR do?

  • minor formating docstrings in tests,
  • optimize imports and
  • dropping unused variables in tests.utils

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

@@ -84,7 +79,7 @@ def test_default_logger_callbacks_cpu_model():
)

model, hparams = tutils.get_model()
tutils.run_model_test_no_loggers(trainer_options, model, hparams, on_gpu=False)
tutils.run_model_test_no_loggers(trainer_options, model)
Copy link
Contributor

Choose a reason for hiding this comment

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

on_gpu=False is missing?

Copy link
Member Author

Choose a reason for hiding this comment

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

it was not used inside the function...

@williamFalcon
Copy link
Contributor

@Borda rebase?

Also, the diff shows the gpu argument is being changed

@Borda
Copy link
Member Author

Borda commented Dec 3, 2019

@williamFalcon rebased :]

@williamFalcon williamFalcon merged commit 63717e8 into Lightning-AI:master Dec 4, 2019
@Borda Borda deleted the prune-tests branch December 4, 2019 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants