mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
Simplify the Config code (#2770)
* simplify the code * fix vl * delete config * fix * perfect code * fix ci * fix xpu * fix xpu * fix server * resolve conflict * fix mtp * resolve conflict * fix xpu * fix xpu * fix vl * fix log * fix qwen moe * fix qwen moe * fix qwen moe
This commit is contained in:
@@ -53,7 +53,7 @@ class ModelForCasualLM(nn.Layer, ABC):
|
||||
"""
|
||||
Args:
|
||||
configs (dict): Configurations including parameters such as max_dec_len, min_dec_len, decode_strategy,
|
||||
ori_vocab_size, use_topp_sampling, etc.
|
||||
vocab_size, use_topp_sampling, etc.
|
||||
"""
|
||||
super(ModelForCasualLM, self).__init__()
|
||||
self.fd_config = configs
|
||||
|
Reference in New Issue
Block a user