-
Notifications
You must be signed in to change notification settings - Fork 17
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 docker image with model #43
Comments
Doing that would increase the build times of my CI tremendously. You can cache the model with a persistent volume instead. docker run --rm -e SERVER_PORT=5000 -e APP_PORT=7860 -p 7860:7860 -v ./cache:/home/user/.cache nllb-api EDIT: I never knew that anyone would want to self-host this project. I've added a section on self-hosting in the README. It will explain how you can optimise the API for your use case(s). |
Thanks for the info about caching :) I cannot run the docker image any more:
|
Oops, so sorry for this. My local container cached an older version of the image which didn't catch this issue. I have fixed it now. Make sure you delete the existing image so you can pull the new one. |
Thanks! |
Nice work ❤️
Would it be possible to add the model to the docker image?
I've already downloaded the 1.4 GB model three times today...
The text was updated successfully, but these errors were encountered: