Skip to content

Conversation

@Hermit-w
Copy link
Collaborator

@Hermit-w Hermit-w commented Nov 6, 2025

No description provided.

[](const std::vector<RawForwardInput>& inputs) {
return std::all_of(
inputs.begin(), inputs.end(), [](const RawForwardInput& input) {
return input.flatten_tokens_vec.size() < 230;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This magic number needs to be defined separately as constexpr, and the name should indicate what it is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

A constant variable has been added with some annotations.

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