Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Fixed compatibility with `numpy>=2.0.0`
- Calls to the removed `numpy.product` function now use `numpy.prod` instead

## [2.9.1] - 2024-11-27

### Fixed
Expand Down Expand Up @@ -409,6 +416,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `get_gpu_name`
- `no_init_or_tensor`

[Unreleased]: https://github.com/coreweave/tensorizer/compare/v2.9.1...HEAD
[2.9.1]: https://github.com/coreweave/tensorizer/compare/v2.9.0...v2.9.1
[2.9.0]: https://github.com/coreweave/tensorizer/compare/v2.8.1...v2.9.0
[2.8.1]: https://github.com/coreweave/tensorizer/compare/v2.8.0...v2.8.1
Expand Down
2 changes: 1 addition & 1 deletion tensorizer/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.9.1"
__version__ = "2.9.2"
2 changes: 1 addition & 1 deletion tensorizer/serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def deserialized_length(self):
if self.data_length > 0:
return self.data_length
element_size: int = numpy.dtype(self.dtype).itemsize
num_elements: int = numpy.product(self.shape)
num_elements: int = numpy.prod(self.shape)
return element_size * num_elements


Expand Down
Loading