-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to run External through a CUDA graph (#222)
* Put model forward into a CUDA graph * Add option * Add CUDA Graph test for External Fix pos grad * Update docs * Add warmup steps * Fix race condition * Small changes to test * Remove spurious line * Blacken * Use intermediate tensors to please CUDA graphs when TN is run through torchmd * Save some intermediates * Modify model.py so the backwards graph is not retained in eval mode * Allow External to take a path to a ckpt or a model instance * Remove unnecessary change to TensorNet * Remove spurious comment * Small correction
- Loading branch information
1 parent
ad8a3fb
commit 2cc5395
Showing
3 changed files
with
116 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
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