We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ccd169 commit da20cf6Copy full SHA for da20cf6
fastdeploy/worker/worker_process.py
@@ -607,7 +607,7 @@ def initialize_fd_config(config_or_args) -> FDConfig:
607
model_config.head_dim = model_config_dict["head_dim"]
608
paddle.set_default_dtype(config_or_args.dtype)
609
if 'tie_word_embeddings' in model_config_dict:
610
- model_config_dict['tie_word_embeddings'] = model_config_dict.pop('tie_word_embeddings')
+ model_config.tie_word_embeddings = model_config_dict['tie_word_embeddings']
611
612
# Initialize all config components
613
device_config = DeviceConfig()
0 commit comments