[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:
rongfu.leng 2025-04-12 07:19:40 +08:00 committed by GitHub
parent c09632a66c
commit 56c76c2e0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,