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

An open-source third-party training with 8 GPUs #300

Open
tastelikefeet opened this issue Mar 29, 2024 · 1 comment
Open

An open-source third-party training with 8 GPUs #300

tastelikefeet opened this issue Mar 29, 2024 · 1 comment

Comments

@tastelikefeet
Copy link

tastelikefeet commented Mar 29, 2024

Hi everyone interested in Grok-1:

We are the ModelScope team, we trained Grok-1 HF version(https://www.modelscope.cn/models/colossalai/grok-1-pytorch/summary) with our training framework SWIFT(https://github.com/modelscope/swift).

We use DeepSpeed zero-3 with cpu offload to train Grok-1, with LoRA. The memory cost is 21G per GPU(8 total) with a dataset max-length 512.

The experiment record can be found here: https://github.com/modelscope/swift/blob/main/docs/source_en/LLM/Grok-1-best-practice.md

Currently we does not support Deepspeed when inference, so the inference GPU memory cost(with device_map) is 80G * 8.

@chg0901
Copy link

chg0901 commented Mar 30, 2024

thanks for sharing, I would like to try this with your future inference support

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

2 participants