Add `with torch.no_grad()` to DistilBERT integration test forward pass (#14979)
* refactor: wrap forward pass around no_grad context * Update tests/test_modeling_distilbert.py * fix: rm `no_grad` from non-integration tests * chore: rm whitespace change
Showing
Please register or sign in to comment