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

convert_qwen2_hf_to_nemo error #11142

Open
huangqingyi-code opened this issue Nov 4, 2024 · 0 comments
Open

convert_qwen2_hf_to_nemo error #11142

huangqingyi-code opened this issue Nov 4, 2024 · 0 comments

Comments

@huangqingyi-code
Copy link

environment: nvcr.io/nvidia/nemo:24.07 image (I also tried installing it from scratch according to the readme. They all make the same mistake)

python ./scripts/checkpoint_converters/convert_qwen2_hf_to_nemo.py --input_name_or_path ../Qwen2.5-7B/ --output_path ../Qwen2.5-7B.nemo

Traceback (most recent call last):
File "/workspace/NeMo/nemo/collections/nlp/models/language_modeling/megatron/bert/bert_spec.py", line 17, in
from megatron.core.extensions.transformer_engine import (
ModuleNotFoundError: No module named 'megatron.core.extensions'

During handling of the above exception, another exception occurred:
NameError: name 'ApexGuardDefaults' is not defined

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