[Bugfix] clean up duplicated code (#16485)
Signed-off-by: Gogs <gogs@fake.local> Co-authored-by: Gogs <gogs@fake.local>
This commit is contained in:
parent
c09632a66c
commit
56c76c2e0e
@ -324,7 +324,6 @@ class OPTForCausalLM(nn.Module, SupportsPP):
|
||||
super().__init__()
|
||||
config = vllm_config.model_config.hf_config
|
||||
quant_config = vllm_config.quant_config
|
||||
super().__init__()
|
||||
self.config = config
|
||||
self.quant_config = quant_config
|
||||
self.model = OPTModel(vllm_config=vllm_config,
|
||||
|
Loading…
x
Reference in New Issue
Block a user