Skip to content

Commit

Permalink
Add DRAFT_EXTERNAL as a default `speculator.speculative_decoding_mo…
Browse files Browse the repository at this point in the history
…de` (#1292)

* add  default config

* bump pyproject version
  • Loading branch information
joostinyi authored Dec 19, 2024
1 parent fea4558 commit 24af116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "truss"
version = "0.9.58rc1"
version = "0.9.58rc2"
description = "A seamless bridge from model development to model delivery"
license = "MIT"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion truss/base/trt_llm_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def __init__(self, **data):


class TrussSpeculatorConfiguration(BaseModel):
speculative_decoding_mode: TrussSpecDecMode
speculative_decoding_mode: TrussSpecDecMode = TrussSpecDecMode.DRAFT_EXTERNAL
num_draft_tokens: int
checkpoint_repository: Optional[CheckpointRepository] = None
runtime: TrussTRTLLMRuntimeConfiguration = TrussTRTLLMRuntimeConfiguration()
Expand Down

0 comments on commit 24af116

Please sign in to comment.