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

Add vulkan image and show size #353

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Add vulkan image and show size #353

merged 1 commit into from
Oct 23, 2024

Conversation

ericcurtin
Copy link
Collaborator

@ericcurtin ericcurtin commented Oct 22, 2024

Add this image, we also want to see the size of this image in the build.

Co-authored-by: Steffen Roecker [email protected]
Signed-off-by: Eric Curtin [email protected]

@ericcurtin
Copy link
Collaborator Author

This is a replacement for #270


RUN git clone https://github.com/ggerganov/llama.cpp && \
cd llama.cpp && \
git reset --hard ${LLAMA_CPP_SHA} && \
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@rhatdan do you know if ARGS like LLAMA_CPP_SHA and WHISPER_CPP_SHA get inherited from parent container images?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm assuming they don't, but I don't know

Copy link
Member

Choose a reason for hiding this comment

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

Only if they are set as Environment variables, which currently they are not. If we want this to be set we could do it via environment in ramalama Containerfile

env LLAMA_CPP_SHA=${LLAMA_CPP_SHA}

Copy link
Member

Choose a reason for hiding this comment

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

Trying it out now.

Copy link
Member

Choose a reason for hiding this comment

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

Works: #355

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Cool that's better, I'll merge yours

@@ -2,6 +2,9 @@ FROM quay.io/ramalama/ramalama:latest

RUN /usr/bin/python3 --version

ARG LLAMA_CPP_SHA=3f1ae2e32cde00c39b96be6d01c2997c29bae555
Copy link
Member

Choose a reason for hiding this comment

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

Remove lines.

@@ -0,0 +1,27 @@
FROM quay.io/ramalama/ramalama:latest

ARG LLAMA_CPP_SHA=3f1ae2e32cde00c39b96be6d01c2997c29bae555
Copy link
Member

Choose a reason for hiding this comment

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

Remove Lines

Add this image, we also want to see the size of this image in the
build.

Co-authored-by: Steffen Roecker <[email protected]>
Signed-off-by: Eric Curtin <[email protected]>
@rhatdan
Copy link
Member

rhatdan commented Oct 23, 2024

LGTM

@rhatdan rhatdan merged commit e754b91 into main Oct 23, 2024
15 checks passed
@ericcurtin ericcurtin deleted the vulkan branch October 23, 2024 22:42
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