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

Issue/#41/add dev chat server instructions #45

Conversation

aevo98765
Copy link
Member

Adding a description for devs to setup a local model chat server. Two approaches have been provided:

  1. Local setup of the ilab cli environment and spinning server up. We link users to the documentation for this.

  2. Provide a docker image that can be pulled from dockerhub and used very easily. The issue with this approach is that the inference speed is very slow as Docker containers can't use mac GPUs at the moment.

Feedback very welcome on this one. Cheers!

@aevo98765 aevo98765 force-pushed the issue/#41/add-dev-chat-server-instructions branch 2 times, most recently from 55a6fb2 to 37f3d72 Compare July 8, 2024 18:03
@@ -0,0 +1,21 @@
FROM python:3.11
Copy link
Member

Choose a reason for hiding this comment

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

Mind changing the file name to Containerfile

Copy link
Member Author

Choose a reason for hiding this comment

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

Done


After you use the `ilab serve` command you should have, by default, a chat server instance running on port 8000.

### 2) Using docker
Copy link
Member

Choose a reason for hiding this comment

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

Mind changing to Podman because of their Docker desktop licensing we are using Podman. Ty!

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@nerdalert
Copy link
Member

Good stuff, tyvm! Just swap from Docker to Podman because of the Docker Desktop licensing not being free anymore. Ty!

@aevo98765 aevo98765 force-pushed the issue/#41/add-dev-chat-server-instructions branch from 19dd02e to b452576 Compare July 9, 2024 10:11
Copy link
Member

@nerdalert nerdalert left a comment

Choose a reason for hiding this comment

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

LGTM

@nerdalert nerdalert merged commit c7b1641 into instructlab:main Jul 9, 2024
5 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.

2 participants