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

[Model] Add aquila 3b configuration file #281

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

heavyrain-lzy
Copy link
Collaborator

@heavyrain-lzy heavyrain-lzy commented Nov 27, 2024

  1. Add Aquila 3b configuration file
  2. Add qk_norm on the hidden-dim, not head-dim
  3. Support shared embedding weight when dp-sizes are different
  4. Fix bugs when calculating gradient normalization if dp-sizes are different.
  5. Add export PYTHONPATH=...:${PYTHONPATH}

@heavyrain-lzy heavyrain-lzy requested a review from a team as a code owner November 27, 2024 08:43
@heavyrain-lzy heavyrain-lzy changed the title [For hetero train][not for merge]add aquila 1b config [Model] Add aquila 1b configuration file Nov 28, 2024
use_flash_attn: True
use_distributed_optimizer: True
precision:
fp16: True
Copy link
Collaborator

Choose a reason for hiding this comment

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

用bf16

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done~Thanks!

@heavyrain-lzy heavyrain-lzy changed the title [Model] Add aquila 1b configuration file [Model] Add aquila 3b configuration file Dec 3, 2024
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.

2 participants