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

raise Exception("Unknown tensor name {}".format(tensor_name)) Exception: Unknown tensor name decoder.layers.0.mixer.in_proj.layer_norm_weigh #1336

Open
fxnie opened this issue Dec 24, 2024 · 2 comments

Comments

@fxnie
Copy link

fxnie commented Dec 24, 2024

Your question
Ask a clear and concise question about Megatron-LM.

@fxnie
Copy link
Author

fxnie commented Dec 24, 2024

TOKENIZER_MODEL="/workspace/mnt/xxx/models/mamba2-2.7b/tokenizer.json"
MODEL_PATH="/workspace/mnt/xxx/ckpt/mamba2"
SAVE_PATH="/workspace/mnt/xxx/models/convert_ckpt/mamba2"

python tools/checkpoint/hybrid_conversion.py
--load-dir ${MODEL_PATH}
--save-dir ${SAVE_PATH}
--target-tp-size 2
--target-pp-size 1
--d-model 2560
--mamba-version 2
--mamba-d-state 128
--mamba2-n-groups 8
--mamba2-head-dim 32

@fxnie
Copy link
Author

fxnie commented Dec 24, 2024

Image

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

No branches or pull requests

1 participant