mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user