Skip to content

Commit

Permalink
remove torch.no_grad
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarbin committed Sep 26, 2023
1 parent b10beaf commit 63470b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/eval/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def load_model(model_cfg: DictConfig, tokenizer: PreTrainedTokenizerBase,
)


@torch.no_grad()
def evaluate_model(
model_cfg: DictConfig,
dist_timeout: Union[float, int],
Expand Down

0 comments on commit 63470b4

Please sign in to comment.