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

error with .nemo model. invalid strategy name: strategy=<nemo.collections.nlp.parts.nlp_overrides.NLPDDPStrategy object at 0x7fd7b9f79f60>. It must be either a string or an instance of lightning.pytorch.strategies.Strategy #2647

Open
songwang41 opened this issue Jan 21, 2025 · 0 comments

Comments

@songwang41
Copy link

torchrun --nproc-per-node=4 --no-python lm_eval
--model nemo_lm
--model_args path=/projects/llm/models/weight/Llama-3.1-8B.nemo,devices=4,tensor_model_parallel_size=2,pipeline_model_parallel_size=2
--tasks ifeval
--batch_size 32

ValueError: You selected an invalid strategy name: strategy=<nemo.collections.nlp.parts.nlp_overrides.NLPDDPStrategy object at 0x7fd7b9f79f60>. It must be either a string or an instance of lightning.pytorch.strategies.Strategy. Example choices: auto, ddp, ddp_spawn, deepspeed, ... Find a complete list of options in our documentation at https://lightning.ai

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