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

tweak: improve base builder for smaller layers #500

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

maximegmd
Copy link
Contributor

By merging layers we don't save the apt cache

RUN wget \
RUN apt-get update \
&& apt-get install -y wget git build-essential ninja-build git-lfs libaio-dev && rm -rf /var/lib/apt/lists/*
&& wget \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't the RUN wget stay as a separate layer still?

@NanoCode012
Copy link
Collaborator

NanoCode012 commented Aug 29, 2023

I think I talked with winglian about this topic, and we plan to swap the base layer after gptq merge, so I don't know if this is needed.

@winglian winglian merged commit 923eb91 into axolotl-ai-cloud:main Sep 22, 2023
3 checks passed
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
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.

None yet

4 participants