Skip to content

Commit

Permalink
Appease type checker
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross committed Sep 5, 2024
1 parent 23a0a19 commit fc5bf4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions notebooks_jason/max_of_K_all_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,7 @@ def _run_train_batch_loss_accuracy(
loss, accuracy = training_wrappers[seed].run_batch(
(xs, ys), log_output=False, device=device
)
loss = loss.item()
return loss, accuracy, batch_size
return loss.item(), accuracy, batch_size


def train_seed(seed: int, *, memoshelve_hf: Callable, pbar: tqdm):
Expand Down

0 comments on commit fc5bf4a

Please sign in to comment.