Skip to content

Conversation

@minsik-ai
Copy link
Contributor

Work in progress! Not tested yet.

is_causal support added.
Uploading for comments.

@minsik-ai
Copy link
Contributor Author

#60

@minsik-ai
Copy link
Contributor Author

@ThisisXXZ
Copy link

Thanks for your work! Will test your script in my environment.

attention_mask,
(batch_size, seq_length),
input_tensor,
past_key_values_length,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local variable 'past_key_values_length' referenced before assignment in line 1149. I'm not quite familiar with the logic here, but it seems that past_key_values = 0 in line 1127 prevents the program from going into the conditional if past_key_values: in line 1128.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants