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

Training Time Discrepancies #11

Open
AlexTurner90 opened this issue Apr 30, 2024 · 1 comment
Open

Training Time Discrepancies #11

AlexTurner90 opened this issue Apr 30, 2024 · 1 comment

Comments

@AlexTurner90
Copy link

Hi @farewellthree,

Thank you for sharing your work. I've been trying to training your STLLM models using the configurations provided - specifically the following two: instructblipbase_stllm_conversation.yaml and instructblipbase_stllm_qa.yaml on 8 A100 GPUs. I observed the training time for the conversation model to be around 16 hours, whereas the paper suggests approximately "6 hours for 2 epochs using Deepspeed's zero-2 setting".

Here is the command I use to initiate training:
deepspeed --master_port=20000 --include=localhost:0,1,2,3,4,5,6,7

I'm looking for a clarification on whether there might be any configuration adjustments (e.g., batch size, optimizer settings) that could help align the training time more closely with what is in the paper. Additionally, could you provide the expected training duration for tboth configurations?

Any suggestions to improve training efficiency would be greatly appreciated. Thank you.

@farewellthree
Copy link
Collaborator

Sorry for the confusion. The training time mentioned in the paper is for the qa_config, and training with the conversation_config does take considerably more time. However, if you exclude the caption_webvid data, you can save a significant amount of time with minimal performance loss.

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