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

Issue for ring-llama/test.ipynb #15

Open
fayejf opened this issue Apr 15, 2024 · 1 comment
Open

Issue for ring-llama/test.ipynb #15

fayejf opened this issue Apr 15, 2024 · 1 comment

Comments

@fayejf
Copy link

fayejf commented Apr 15, 2024

Thanks for the great work!

https://github.com/cuda-mode/ring-attention/blob/main/ring-llama/test.ipynb

I can load the model with LlamaRingFlashAttention and move to the device but I've seen

RuntimeError: Default process group has not been initialized, please make sure to call init_process_group.

when I run y = model.generate

What did I miss? Thanks in advance!

@fayejf
Copy link
Author

fayejf commented Apr 15, 2024

Also I was seeing

RuntimeError: Sizes of tensors must match except in dimension 2. Expected size 32 but got size 4 for tensor number 1 in the list.

with another model llama based model "01-ai/Yi-6B-200K"with LlamaRingFlashAttention
it was fine with LlamaFlashAttention2

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