fix typos
This commit is contained in:
parent
c6ed1c412d
commit
01ed397e7a
1 changed files with 1 additions and 4 deletions
|
|
@ -164,9 +164,6 @@ def baichuan_model_7b_forward(
|
|||
|
||||
use_compresskv = isinstance(past_key_values, DynamicCompressCache)
|
||||
|
||||
# if not past_key_values and not use_compresskv:
|
||||
# past_key_values = [None for _ in range(self.num_layers)]
|
||||
|
||||
for idx, decoder_layer in enumerate(self.layers):
|
||||
if output_hidden_states:
|
||||
all_hidden_states += (hidden_states,)
|
||||
|
|
|
|||
Loading…
Reference in a new issue