Skip to content

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

Open
wangyufak wants to merge 1 commit intoTHUDM:mainfrom
wangyufak:fix_sglang_engine_file
Open

(fix):not have encoder_only attr cause run failed#1741
wangyufak wants to merge 1 commit intoTHUDM:mainfrom
wangyufak:fix_sglang_engine_file

Conversation

@wangyufak
Copy link

(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

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.

1 participant