forked from pytorch/tnt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GPU UT - enable for test_device (pytorch#523)
Summary: Pull Request resolved: pytorch#523 Adjust `test_device` - mock `torch.cuda.is_available` and methods in `test_get_gpu_stats` Reviewed By: gunchu Differential Revision: D48754274 fbshipit-source-id: 93345f3cbecf55451cb5942e7888e9abf8522045
- Loading branch information
1 parent
8be052d
commit cc0fb2c
Showing
1 changed file
with
11 additions
and
13 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