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

"RuntimeError: Distributed package doesn't have NCCL built in" trying to run example chat completion locally #268

Open
pentney opened this issue Jan 26, 2025 · 0 comments

Comments

@pentney
Copy link

pentney commented Jan 26, 2025

Trying to run on my GPU-less laptop, and I just want to try running inference locally with

PYTHONPATH=$(git rev-parse --show-toplevel) torchrun llama_models/scripts/example_chat_completion.py $CHECKPOINT_DIR
I'm getting the error:


         File "/home/bill/.venv/lib/python3.11/site-packages/torch/distributed/distributed_c10d.py", line 1750, in _new_process_group_helper
      raise RuntimeError("Distributed package doesn't have NCCL built in")       ^^^
 ^^^    ^raise RuntimeError("Distributed package doesn't have NCCL built in")^ 

Is there a configuration for the script that will run without NCCL? Thanks

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