[HiCache] Support DCP with DSpark (#35221)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7502,11 +7502,11 @@ class ServerArgs:
|
||||
"backup and the storage keys must become dcp_rank-aware "
|
||||
"first. Run HiCache+DCP with L1/L2 only."
|
||||
)
|
||||
if self.speculative_algorithm is not None:
|
||||
if self.speculative_algorithm not in (None, "DSPARK"):
|
||||
raise NotImplementedError(
|
||||
"HiCache with --dcp-size > 1 does not support speculative "
|
||||
"decoding yet (the draft-model host pool has no DCP index "
|
||||
"translation)."
|
||||
"HiCache with --dcp-size > 1 only supports DSPARK speculative "
|
||||
"decoding; other draft-model host pools have no DCP index "
|
||||
"translation."
|
||||
)
|
||||
if self.enable_lmcache:
|
||||
raise NotImplementedError(
|
||||
|
||||
Reference in New Issue
Block a user