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

chore: add llama_multinode example with nccl #2292

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

b0xtch
Copy link
Contributor

@b0xtch b0xtch commented Jun 28, 2024

Very barebones implementation of Llama multinode for distributed inference

  • Adds support for running Llama model inference across multiple nodes and GPUs.
  • a simple tcp server to exchange nccl_id

Blocked:

@b0xtch b0xtch changed the title chore: add llama_multinode example, multi node with nccl chore: add llama_multinode example with nccl Jun 28, 2024
@b0xtch b0xtch force-pushed the chore/llama_multinode branch 2 times, most recently from fd8f209 to 5d2635e Compare June 28, 2024 04:52
@LaurentMazare
Copy link
Collaborator

LaurentMazare commented Jun 28, 2024

  • I am blocked on the flash_attn on cuda >12.X so I haven't been able to finish this

Are you sure it's blocked on these versions? I think it's only on 12.1, fwiw I'm using it very frequently with 12.2 and 12.4 and I don't see any such issue.

@b0xtch
Copy link
Contributor Author

b0xtch commented Jun 28, 2024

  • I am blocked on the flash_attn on cuda >12.X so I haven't been able to finish this

Are you sure it's blocked on these versions? I think it's only on 12.1, fwiw I'm using it very frequently with 12.2 and 12.4 and I don't see any such issue.

I tested with the versions below - {11.8}:

image

There is a similar report with the problem for v12.5 as well

I could be missing something but I am simply starting a new instances, cloning and running

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