Skip to content

Commit da20cf6

Browse files
authored
[Bug fix] Fixed the garbled text issues in Qwen3-8B (#2783)
1 parent 4ccd169 commit da20cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastdeploy/worker/worker_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def initialize_fd_config(config_or_args) -> FDConfig:
607607
model_config.head_dim = model_config_dict["head_dim"]
608608
paddle.set_default_dtype(config_or_args.dtype)
609609
if 'tie_word_embeddings' in model_config_dict:
610-
model_config_dict['tie_word_embeddings'] = model_config_dict.pop('tie_word_embeddings')
610+
model_config.tie_word_embeddings = model_config_dict['tie_word_embeddings']
611611

612612
# Initialize all config components
613613
device_config = DeviceConfig()

0 commit comments

Comments
 (0)