Unverified Commit 56c76c2e authored by rongfu.leng's avatar rongfu.leng Committed by GitHub
Browse files

[Bugfix] clean up duplicated code (#16485)


Signed-off-by: default avatarGogs <gogs@fake.local>
Co-authored-by: default avatarGogs <gogs@fake.local>
parent c09632a6
...@@ -324,7 +324,6 @@ class OPTForCausalLM(nn.Module, SupportsPP): ...@@ -324,7 +324,6 @@ class OPTForCausalLM(nn.Module, SupportsPP):
super().__init__() super().__init__()
config = vllm_config.model_config.hf_config config = vllm_config.model_config.hf_config
quant_config = vllm_config.quant_config quant_config = vllm_config.quant_config
super().__init__()
self.config = config self.config = config
self.quant_config = quant_config self.quant_config = quant_config
self.model = OPTModel(vllm_config=vllm_config, self.model = OPTModel(vllm_config=vllm_config,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment