Skip to content

Commit

Permalink
Merge pull request #1 from RevEngAI/switch_version_and_make_change
Browse files Browse the repository at this point in the history
Switch version and make change
  • Loading branch information
henrycharlesworth authored Sep 6, 2024
2 parents 920a548 + ebacd1c commit 848dd84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion fairseq/data/indexed_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,10 @@ def _get_pointers(sizes):

for size in sizes:
pointers.append(address)
address += size * dtype_size
address += int(size * dtype_size)

if not isinstance(address, int):
raise ValueError("This should no longer be possible...")

return pointers

Expand Down
2 changes: 1 addition & 1 deletion fairseq/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.2
0.12.2

0 comments on commit 848dd84

Please sign in to comment.