Merge pull request #593 from ufownl:bugfix/dc2bf16

PiperOrigin-RevId: 767098675
This commit is contained in:
Copybara-Service 2025-06-04 05:21:54 -07:00
commit eff0213e88
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ static void MapAll(const std::vector<TensorToRead>& tensors,
// Mode == kReadBF16:
template <typename T>
static void DecompressToBF16(const MatPtr& mat,
static void DecompressToBF16(MatPtr& mat,
const hwy::AlignedFreeUniquePtr<uint8_t[]>& buf) {
hwy::HWY_NAMESPACE::ScalableTag<BF16> dbf;
const size_t cols = mat.Cols();