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

defaulting no option but allow override chat format #539

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

Gregory-Pereira
Copy link
Collaborator

Signed-off-by: greg pereira <grpereir@redhat.com>
@Gregory-Pereira Gregory-Pereira force-pushed the default-chat-template-to-model-meta branch from 9882e59 to 65f265a Compare June 8, 2024 21:27
@@ -1,5 +1,5 @@
FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620
ENV CHAT_FORMAT=llama-2
ENV CHAT_FORMAT=
Copy link
Member

Choose a reason for hiding this comment

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

I don't believe this works as you expect? IE if I do

make CHAT_FORMAT=foobar, I don't think the CHAT_FORMAT variable in the podman build will get passed in.

Copy link
Collaborator Author

@Gregory-Pereira Gregory-Pereira Jun 10, 2024

Choose a reason for hiding this comment

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

Understood. I can remove it, which just means we have no ability to set it at the build stage but we can default the option at the run stage. Updated in: 558ecaf

Signed-off-by: greg pereira <grpereir@redhat.com>
@Gregory-Pereira Gregory-Pereira force-pushed the default-chat-template-to-model-meta branch from 50bd7aa to 558ecaf Compare June 10, 2024 15:59
Copy link
Member

@rhatdan rhatdan left a comment

Choose a reason for hiding this comment

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

LGTM

@rhatdan rhatdan merged commit f90a88c into main Jun 10, 2024
7 checks passed
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