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

Replace playground with model_servers #101

Merged
merged 3 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chatbot/ai-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ application:
description: This is a Streamlit chat demo application.
containers:
- name: llamacpp-server
contextdir: ../playground
containerfile: Containerfile
contextdir: ../model_servers/llamacpp_python
containerfile: ../model_servers/llamacpp_python/base/Containerfile
Copy link
Collaborator

Choose a reason for hiding this comment

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

I didn't notice before but i think that the containerfile should be containerfile: ./base/Containerfile

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is related to all ai-lab files

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok, was was actually not sure. It will start from the contextDir?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes

model-service: true
backend:
- llama
Expand Down
4 changes: 2 additions & 2 deletions code-generation/ai-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ application:
description: This is a code-generation demo application.
containers:
- name: llamacpp-server
contextdir: ../playground
containerfile: Containerfile
contextdir: ../model_servers/llamacpp_python
containerfile: ../model_servers/llamacpp_python/base/Containerfile
model-service: true
backend:
- llama
Expand Down
4 changes: 2 additions & 2 deletions image_understanding/ai-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ application:
description: This demo uses a Multimodal model to analyze the content of images.
containers:
- name: llamacpp-server
contextdir: ../playground
containerfile: Containerfile
contextdir: ../model_servers/llamacpp_python
containerfile: ../model_servers/llamacpp_python/base/Containerfile
model-service: true
backend:
- llama
Expand Down
2 changes: 0 additions & 2 deletions model_servers/llamacpp/src/run.sh

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ COPY src .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir --upgrade -r /locallm/requirements.txt
EXPOSE 8001
ENTRYPOINT [ "sh", "run.sh" ]
ENTRYPOINT [ "sh", "run.sh" ]
File renamed without changes.
8 changes: 0 additions & 8 deletions playground/Containerfile

This file was deleted.

1 change: 0 additions & 1 deletion playground/requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions rag/ai-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ application:
description: This is a RAG demo application.
containers:
- name: llamacpp-server
contextdir: ../playground
containerfile: Containerfile
contextdir: ../model_servers/llamacpp_python
containerfile: ../model_servers/llamacpp_python/base/Containerfile
model-service: true
backend:
- llama
Expand Down
4 changes: 2 additions & 2 deletions summarizer-langchain/ai-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ application:
description: This is a Streamlit demo application for summarizing text.
containers:
- name: llamacpp-server
contextdir: ../playground
containerfile: Containerfile
contextdir: ../model_servers/llamacpp_python
containerfile: ./model_servers/llamacpp_python/base/Containerfile
Copy link
Collaborator

Choose a reason for hiding this comment

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

this needs to be ./base/Containerfile, right?

model-service: true
backend:
- llama
Expand Down