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

[BUG] Jamba (Mamba+MoE) + ZeRO3 + LoRA training hangs #5502

Open
hijkzzz opened this issue May 6, 2024 · 0 comments
Open

[BUG] Jamba (Mamba+MoE) + ZeRO3 + LoRA training hangs #5502

hijkzzz opened this issue May 6, 2024 · 0 comments
Labels
bug Something isn't working training

Comments

@hijkzzz
Copy link

hijkzzz commented May 6, 2024

Model Link: https://huggingface.co/ai21labs/Jamba-v0.1

Reproduce script in OpenRLHF: https://github.com/OpenLLMAI/OpenRLHF/blob/main/examples/scripts/train_sft_jamba_lora.sh

Please pip install mamba-ssm causal-conv1d>=1.2.0
and set --micro_train_batch_size 1 to reproduce this bug ( IMPORTANT! )
--micro_train_batch_size 4 works well

Mixtral + ZeRO3 + LoRA works well with the same hyperparameters (`--micro_train_batch_size 1):
see https://github.com/OpenLLMAI/OpenRLHF/blob/main/examples/scripts/train_sft_mixtral_lora.sh

@hijkzzz hijkzzz added bug Something isn't working training labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working training
Projects
None yet
Development

No branches or pull requests

1 participant