Skip to content

Commit

Permalink
add missing module six and change deprecated data type from np.float …
Browse files Browse the repository at this point in the history
…to np.float64
  • Loading branch information
Siyuan Tian committed Aug 14, 2023
1 parent d86ddd9 commit 3747514
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def write_longs(f, a):
3: np.int16,
4: np.int32,
5: np.int64,
6: np.float,
6: np.float64,
7: np.double,
8: np.uint16
}
Expand Down Expand Up @@ -267,7 +267,7 @@ class IndexedDatasetBuilder(object):
np.int16: 2,
np.int32: 4,
np.int64: 8,
np.float: 4,
np.float64: 4,
np.double: 8
}

Expand Down
1 change: 1 addition & 0 deletions examples/tutorial/sequence_parallel/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
colossalai
torch
six

0 comments on commit 3747514

Please sign in to comment.