-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create conftest.py file to allow the number of iterations in the inference test to be configurable. This allows the tests to be used as inference speed benchmarks as originally intended. Also, the allow_tf32 flags are now logged as well. * Add `tmux` to the `simple` environment default environment. * Make tests configurable for GPU as well. * Add explanation as to how to run configurable test for inference speed comparison. * Fix typo. * Update Docker Compose installed version. * Update pytest minimum version to 7.3.0, which fixes the walrus operator bug. * Remove unnecessary import from conftest.py. * Reformat project. * Update documentation to mention that runtime speeds will probably be similar for `conda` installs and source builds. I have confirmed that the `conda` installs use `cuDNN` and probably `magma` properly. The speeds were identical on the hardware I tested. * Update all Docker BuildKit frontend versions to simply 1, which will use the latest BuildKit syntax until the next major release.
- Loading branch information
1 parent
741f426
commit cc549d9
Showing
11 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
def pytest_addoption(parser): | ||
parser.addoption("--num_steps", type=int, action="store", default=64) | ||
parser.addoption("--gpu", type=int, action="store", default=0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters