Skip to content
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

Add parameter of embedding_read_fusion for MCoreGPTModel #9153

Open
wants to merge 1 commit into
base: r2.0.0.rc0.beta
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ def model_provider_func(self, pre_process, post_process):
parallel_output=True,
share_embeddings_and_output_weights=self.cfg.get('share_embeddings_and_output_weights', True),
position_embedding_type=self.cfg.get('position_embedding_type', 'learned_absolute'),
embedding_read_fusion=self.cfg.get('embedding_read_fusion', False),
rotary_percent=self.cfg.get('rotary_percentage', 1.0),
seq_len_interpolation_factor=self.cfg.get('seq_len_interpolation_factor', None),
rotary_base=self.cfg.get('rotary_base', 10000),
Expand Down
Loading