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

Deepseek v2 16b enablement #34

Open
wants to merge 23 commits into
base: rocm_dev
Choose a base branch
from
Open

Conversation

hakankiymaz-amd
Copy link

ramp_func = torch.clamp(linear_func, 0, 1)
return ramp_func

class DeepseekV2YarnRotaryEmbedding(DeepseekV2RotaryEmbedding):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use YarnRotaryEmbedding from megatron.core.models.common.embeddings.yarn_rotary_pos_embedding instead?

@wenchenvincent
Copy link
Collaborator

@hakankiymaz-amd Could you also make sure the copyright statements are all applied properly? If files are copied over from PAI-megatron-patch without any change, you should keep the original copyright statement there. If it is incorporated with your change, You need to add additional copyright statement for AMD and specify what are the changes.

@hakankiymaz-amd
Copy link
Author

Copyright statements are added proper to changes from PAI and changes from AMD.

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.

3 participants