-
Notifications
You must be signed in to change notification settings - Fork 596
Unify server-side and model-side Config(Part-5) #3081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Thanks for your contribution! |
…nto unify_config_part
…nto unify_config_part
graph_opt_config._set_cudagraph_sizes(max_num_seqs=parallel_config.max_num_seqs) | ||
graph_opt_config.init_with_cudagrpah_size(max_num_seqs=parallel_config.max_num_seqs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里为啥还需要手动调用一次,我看 FDConfig 已经吧 post_init 合并到 init 里了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FDConfig的初始化里我加了一个test_mode模式,专门用来方便写单测设置的,test_mode下只会做简单的config初始化,其他的初始化内容会直接跳过
本PR删除了engine目录下的config.py,将总的Config迁移至fastdeploy/config.py中,后续会对FDConfig中的字段进行进一步整理