Skip to content

(fix):not have encoder_only attr cause run failed#1741

Merged
zhuzilin merged 1 commit intoTHUDM:mainfrom
wangyufak:fix_sglang_engine_file
Mar 29, 2026
Merged

(fix):not have encoder_only attr cause run failed#1741
zhuzilin merged 1 commit intoTHUDM:mainfrom
wangyufak:fix_sglang_engine_file

Conversation

@wangyufak
Copy link
Copy Markdown
Contributor

(fix):not have encoder_only attr cause run failed
sglang_engine has server_args, if worker_type is regular, server_args will not have encoder_only attr, then will happen a bug.
File "/code/slime/backends/sglang_utils/sglang_engine.py", line 164, in init
self._init_normal(server_args_dict)
File "/code/slime/backends/sglang_utils/sglang_engine.py", line 192, in _init_normal
self.process = launch_server_process(ServerArgs(**server_args_dict))
File "/code/slime/backends/sglang_utils/sglang_engine.py", line 54, in launch_server_process
if server_args.encoder_only:
AttributeError: 'ServerArgs' object has no attribute 'encoder_only

@zhuzilin zhuzilin merged commit f96b71f into THUDM:main Mar 29, 2026
SmallMelon-L pushed a commit to fnlp-agentRL/slime that referenced this pull request Mar 31, 2026
Co-authored-by: wangch <wangch@wangchdeMacBook-Air.local>
AstroSkape pushed a commit to Andrew-Koulogeorge/slime that referenced this pull request Apr 16, 2026
Co-authored-by: wangch <wangch@wangchdeMacBook-Air.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants