"projects/PointSup/point_sup/detection_utils.py" did not exist on "5b3792fc3ef9ab6a6f8f30634ab2e52fb0941af3"
Unverified Commit 3bffe112 authored by 633WHU's avatar 633WHU Committed by GitHub
Browse files

Fix chunked prefill size validation for disabled state (#8973)


Co-authored-by: default avatargemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
parent 44426e54
......@@ -1999,6 +1999,8 @@ class ServerArgs:
), "enable_mixed_chunk is required for speculative decoding"
# Check chunked prefill
# Skip validation if chunked prefill is disabled (i.e., size <= 0).
if self.chunked_prefill_size > 0:
assert (
self.chunked_prefill_size % self.page_size == 0
), "chunked_prefill_size must be divisible by page_size"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment