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

Use pytest tmpdir fixture wherever temporary directories are used in tests. #2274

Merged
merged 6 commits into from
Jul 14, 2022

Conversation

justinxzhao
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Jul 13, 2022

Unit Test Results

       6 files  ±0         6 suites  ±0   2h 17m 10s ⏱️ - 13m 6s
2 911 tests  - 1  2 866 ✔️ ±0    45 💤  - 1  0 ±0 
8 733 runs   - 3  8 594 ✔️ ±0  139 💤  - 3  0 ±0 

Results for commit e9e9243. ± Comparison against base commit 756506b.

♻️ This comment has been updated with latest results.

@justinxzhao justinxzhao marked this pull request as ready for review July 14, 2022 04:58
@@ -64,7 +64,11 @@ class BaseTrainerConfig(schema_utils.BaseMarshmallowConfig):
default=None,
allow_none=True,
min_exclusive=0,
description="Size of batch to pass to the model for evaluation.",
description=(
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should also mention auto, which will set the eval batch size to maximize GPU bandwidth.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Collaborator

@dantreiman dantreiman left a comment

Choose a reason for hiding this comment

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

LGTM

@justinxzhao justinxzhao merged commit 97aa9f1 into master Jul 14, 2022
@justinxzhao justinxzhao deleted the tmpdir_refactoring branch July 14, 2022 21:01
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.

None yet

3 participants