Skip to content

Commit

Permalink
Fix bank deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnov-alexey committed Jan 10, 2025
1 parent 423185a commit c19b9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_npu/src/plugin/npuw/weights_bank.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ std::shared_ptr<Bank> Bank::deserialize(std::istream& stream,
read(stream, device);
std::size_t storage_size = 0;
read(stream, storage_size);
for (std::size_t i = 0; i < bank_size; ++i) {
for (std::size_t j = 0; j < storage_size; ++j) {
int64_t uid = -1;
read(stream, uid);
bank->read_and_add_tensor(stream, uid, device);
Expand Down

0 comments on commit c19b9c6

Please sign in to comment.