Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Dec 5, 2024
1 parent 7cef5ce commit 79df5c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ def skip_full_execution(self, block, next_block, block_forward, cache):
# Finally (!), we compute the quantized input of the next block
block.eval()
if torch.cuda.is_available():
block.cuda()
block.cuda()
next_quant_input = []
pbar = tqdm(range(len(cache)), desc='', leave=False)
with torch.no_grad():
Expand Down

0 comments on commit 79df5c1

Please sign in to comment.