OAI: adding optional draft model properties for draft_rope alpha and scale (#28)

* OAI: adding optional draft model properties for draft_rope alpha and scale

* Forgot to set the properties to None
This commit is contained in:
Veden
2023-12-17 11:23:45 -08:00
committed by GitHub
parent 528d58f841
commit 3e57125025

View File

@@ -25,8 +25,8 @@ class ModelList(BaseModel):
class DraftModelLoadRequest(BaseModel):
draft_model_name: str
draft_rope_alpha: float = 1.0
draft_rope_scale: float = 1.0
draft_rope_alpha: Optional[float] = None
draft_rope_scale: Optional[float] = None
# TODO: Unify this with ModelCardParams
class ModelLoadRequest(BaseModel):