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

Shrinking Llama training to suite one GPU #777

Closed
mahmoodn opened this issue Nov 15, 2024 · 1 comment
Closed

Shrinking Llama training to suite one GPU #777

mahmoodn opened this issue Nov 15, 2024 · 1 comment

Comments

@mahmoodn
Copy link

Hi,
Is it possible to run Llama training on 1 GPU for a test? I have tested with smaller sequence length and batch size of 1, but it seems that due to using Deepspeed in distributed_type: DEEPSPEED, it has to be a multi-node configuration. I can not find any other option other than DEEPSPEED.

Any idea about that?

@mahmoodn
Copy link
Author

I have tried all possible options based on the suggestions on the web, e.g. increasing lora_size but it seems that 70b version needs 4 gpus.
I tried the same dataset with 7b and I was able to run it on single GPU with batch size of 1, 2, 4 and 8.

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