-
-
Notifications
You must be signed in to change notification settings - Fork 657
Open
Labels
HacktoberfestPyDataGlobalPyData Global 2020 SprintPyData Global 2020 Sprintenhancementhelp wantedneeds-discussion
Description
🚀 Feature
The idea is to replace where it is appropriate torch.no_grad with inference_mode to speed-up computations: evalutation, metrics.
This works since pytorch v1.9.0.
- https://pytorch.org/docs/1.9.0/notes/autograd.html#inference-mode
- https://pytorch.org/docs/1.9.0/generated/torch.inference_mode.html?highlight=inference_mode#torch.inference_mode
Let's also benchmark the speed-up on a simple case.
KickItLikeShika
Metadata
Metadata
Assignees
Labels
HacktoberfestPyDataGlobalPyData Global 2020 SprintPyData Global 2020 Sprintenhancementhelp wantedneeds-discussion