-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Build a docker image for openchatkit #40
Comments
Thanks for the feature request. This is a great idea. Will put it on the roadmap. |
Hey @Jonuknownothingsnow i am new to open source . and it would be very happy to work on this idea under your guidance |
Dockerfile
Build the Docker image using the following command:
Run the Docker container using the following command:
This will start a new bash shell in the container.
You should now be able to use the OpenChatKit code and run the prepare.py script. |
As I mentioned in the PR, both the pretrained model and datasets can be quite large.
The |
Sure i will try to do it |
Hello, I'm just starting with OpenChat, I was checking to use Docker and I found your Dockerfile. One question, for training the model, I understand cuda + nvidia are used if available? If that yes, yesterday I found this, maybe useful https://blog.roboflow.com/nvidia-docker-vscode-pytorch/ Thank you |
Hello there, Just mention that I had issues building the environment with package netifaces, that I solved updating environment.yml file from netifaces===0.11.0 to netifaces2==0.0.16 Thank you |
This can be fixed by installing |
Thanks for the great resource @xsanz! I was able to get the model loaded onto the GPU in docker using those instructions |
the conda binary was not found during my docker build. If anyone runs into this issue, I had set the PATH correctly before trying to run conda
|
Is your feature request related to a problem? Please describe.
A docker image might be easier for people to use.
Describe the solution you'd like
We could add a /docker folder or a simple dockerfile to the repo, so people could build the image by themselves. And maybe we could push the image to dockerhub so they could just pull and test.
The text was updated successfully, but these errors were encountered: