[misc] error early for old-style class (#10304)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
@@ -415,7 +415,7 @@ class ArcticModel(nn.Module):
|
||||
|
||||
class ArcticForCausalLM(nn.Module, SupportsPP):
|
||||
|
||||
def __init__(self, vllm_config: VllmConfig, prefix: str = "") -> None:
|
||||
def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
|
||||
super().__init__()
|
||||
config = vllm_config.model_config.hf_config
|
||||
quant_config = vllm_config.quant_config
|
||||
|
||||
Reference in New Issue
Block a user