Skip to content

Commit

Permalink
run precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanishsingh committed Feb 11, 2025
1 parent 6b7a106 commit 10ba260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchdata/stateful_dataloader/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __next__(self):
if self.perm is None or not self.perm:
self.perm = torch.randint(
high=self.n,
size=(self.remainder,),
size=(remainder,),
dtype=torch.int64,
generator=self.generator,
).tolist()
Expand Down

0 comments on commit 10ba260

Please sign in to comment.