Skip to content

[Feat]Add Chunk size#892

Open
qyh111 wants to merge 2 commits intoModelEngine-Group:developfrom
qyh111:dev_chunk_size
Open

[Feat]Add Chunk size#892
qyh111 wants to merge 2 commits intoModelEngine-Group:developfrom
qyh111:dev_chunk_size

Conversation

@qyh111
Copy link
Copy Markdown
Contributor

@qyh111 qyh111 commented Apr 3, 2026

Purpose

Modifications

Test

image image

external_hit_tokens = 0
if external_hit_blocks > 0:
remainder = num_computed_tokens % self.chunk_size
external_hit_tokens = external_hit_blocks * self.chunk_size - remainder
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this be external_hit_tokens = (external_hit_blocks - remainder) * self.chunk_size?

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