Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
Signed-off-by: sahil suneja <[email protected]>
  • Loading branch information
sahilsuneja1 committed Sep 9, 2024
1 parent e08628d commit ac548c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion speculator/train_speculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import time

import fire
import fire # type: ignore
import torch
import torch.optim as optim
from fms.models import get_model
Expand Down
1 change: 0 additions & 1 deletion speculator/train_speculator_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ def train_speculator(
model.eval()
speculator.train()
ddp_stats = torch.zeros(2 + speculator.n_predict).to(local_rank)
train_loss = 0

start = time.time()
loop_start = time.time()
Expand Down

0 comments on commit ac548c5

Please sign in to comment.