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

Clean up disk sapce during docker image build for transformers-pytorch-gpu #24346

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Jun 19, 2023

What does this PR do?

PyTorch pipeline CI job start to fail due to

 ImportError: accelerate>=0.20.3 is required for a normal functioning of this module, but found accelerate==0.20.2.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main

The root cause is: docker image for this job failed to build due to disk space issue

RROR: Could not install packages due to an OSError: [Errno 28] No space left on device

As usual, let's us save Space!

@ydshieh ydshieh requested a review from amyeroberts June 19, 2023 07:28
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 19, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

🧹 🧹 🧹 🧹 🧹

Thanks for fixing and cleaning up space!

@ydshieh ydshieh changed the title Add accelerate to docker file transformers-pytorch-gpu Clean up disk sapce during docker image build for transformers-pytorch-gpu Jun 19, 2023
@ydshieh ydshieh merged commit 0b259a3 into main Jun 19, 2023
@ydshieh ydshieh deleted the accelerate branch June 19, 2023 10:54
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

Successfully merging this pull request may close these issues.

3 participants