Skip to content

Commit

Permalink
lower warmup time
Browse files Browse the repository at this point in the history
  • Loading branch information
NevermindNilas committed Dec 26, 2024
1 parent ca51ecd commit db44dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dedup/dedup.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def __init__(

self.stream = torch.cuda.Stream()
with torch.cuda.stream(self.stream):
for _ in range(5):
for _ in range(3):
output = self.model(self.dummyInput)
self.stream.synchronize()

Expand Down

0 comments on commit db44dcb

Please sign in to comment.