Merge remote-tracking branch 'origin/main' into alexcheema/speculative-decoding

Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
Alex Cheema
2026-02-05 06:09:50 -08:00
co-authored by Claude Opus 4.5
parent 55152fa99d
commit 90e2a20091
+9
View File
@@ -72,6 +72,14 @@ class DeleteDownload(BaseCommand):
model_id: ModelId
class SetInstanceDraftModel(BaseCommand):
"""Set or update the draft model for an existing instance."""
instance_id: InstanceId
draft_model: ModelId | None # None to disable speculative decoding
num_draft_tokens: int = 4
DownloadCommand = StartDownload | DeleteDownload
@@ -84,6 +92,7 @@ Command = (
| PlaceInstance
| CreateInstance
| DeleteInstance
| SetInstanceDraftModel
| TaskFinished
| SendInputChunk
)