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

Optimize the image building script #29

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

anw90
Copy link
Contributor

@anw90 anw90 commented Oct 23, 2024

  1. The base image now includes Bazel 6.10, which is required by BladeDISC.
  2. The image build time has been changed to 1:00 AM.
  3. By reusing the previous build cache, the compilation time has been reduced from approximately 70 minutes to around 30 minutes.

@@ -9,6 +9,7 @@ ENV PROXY=${use_proxy:+'https_proxy=http://127.0.0.1:7890 http_proxy=http://127.

COPY ./whls/* ${work_dir}/
RUN cd ${work_dir} \
&& env ${PROXY} pip install *.whl transformers==4.33.0 datasets pillow SentencePiece accelerate transformers_stream_generator tiktoken peft bitsandbytes scipy \
&& env ${PROXY} pip install *.whl \
&& env ${PROXY} pip install transformers==4.33.0 datasets pillow SentencePiece accelerate transformers_stream_generator tiktoken peft bitsandbytes scipy \
Copy link
Contributor

Choose a reason for hiding this comment

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

Update transformers to higher version for llama3?

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.

2 participants