Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
meenchen committed May 22, 2023
1 parent a3806b5 commit e6cfd2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions experimental/transformer/src/Int8OPTDecoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ struct Int8OPTDecoder_output Int8OPTDecoder::forward(const struct Int8OPTDecoder
// causal_attention_mask = self._prepare_decoder_attention_mask
Matrix3D<float> causal_attention_mask =
this->prepare_decoder_attention_mask(sqlen + past_key_values_length, past_key_values_length);
std::cout << "causal_attention_mask(md5):" << causal_attention_mask.getMD5() << std::endl;

// modeling_opt.py: pos_embeds = self.embed_positions(attention_mask, past_key_values_length)
Matrix3D<float> pos_embeds = this->get_position_embed(sqlen, past_key_values_length);
Expand Down

0 comments on commit e6cfd2d

Please sign in to comment.