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

Increase shm_size to 16GB in docker-compose.yml #6010

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

XYZliang
Copy link
Contributor

What does this PR do?

Fixes #4316

This pull request increases the shm_size parameter in docker-compose.yml to 16GB. The goal is to enhance the LLaMA-Factory framework’s performance for large model fine-tuning tasks by providing sufficient shared memory for efficient data loading and parallel processing.

This PR also addresses the issues discussed in [this comment](#4316 (comment)) regarding Shared Memory Limit error.

Before submitting

…mory allocation for large-scale model fine-tuning tasks.

This pull request increases the shm_size parameter in docker-compose.yml to 16GB. The goal is to enhance the LLaMA-Factory framework’s performance for large model fine-tuning tasks by providing sufficient shared memory for efficient data loading and parallel processing.

This PR also addresses the issues discussed in [this comment](hiyouga#4316 (comment)) regarding Shared Memory Limit error.
@hiyouga hiyouga self-requested a review November 24, 2024 16:15
Copy link
Owner

@hiyouga hiyouga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiyouga hiyouga merged commit 8e9f461 into hiyouga:main Nov 24, 2024
@hiyouga hiyouga added the solved This problem has been already solved label Nov 24, 2024
@XYZliang XYZliang deleted the fix-#4316 branch November 24, 2024 16:19
1587causalai pushed a commit to 1587causalai/llama_factory that referenced this pull request Feb 18, 2025
Increase shm_size to 16GB in docker-compose.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

全量微调baichuan2-7b-chat
2 participants