forked from facebookresearch/PyTorch-BigGraph
-
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.
Refactor CPP installation checks to allow all modules to be imported …
…for unit tests (facebookresearch#149) Summary: Pull Request resolved: facebookresearch#149 We have some checks so that Filament can run when the C++ code isn't installed, but unittest still tries to important `train_gpu.py` directly and fails. This moves the check *inside* `train_gpu`. Reviewed By: lw Differential Revision: D22073228 fbshipit-source-id: b75980c55c95eea31f82c786d9f6f35d48a146dd
- Loading branch information
1 parent
6530836
commit 197e9c4
Showing
3 changed files
with
20 additions
and
19 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