-
Notifications
You must be signed in to change notification settings - Fork 0
Cleaned ollama container moving the model download to docker #617
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
base: main
Are you sure you want to change the base?
Conversation
GilMM27
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please test and add the missing changes ;)
GilMM27
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before approving please submit evidence this was tested
|
|
||
| # Download model and Modelfile to the directory where this script is located | ||
| SCRIPT_DIR=$(dirname "$(readlink -f "$0")") | ||
| SCRIPT_DIR="$(cd "$(dirname "$0")/../../../hri/packages/nlp/assets" && pwd)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: in my opinion it would be simpler to just write the relative path
| network_mode: host | ||
| volumes: | ||
| - ../../../hri/packages/nlp/assets:/ollama | ||
| - ../scripts/ollama:/scripts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure whats the better call here, if just copying the file (like in the dockerfile of display) or creating this volume. I'll let you decide
Moved download model logic (the .sh) to docker folder, updated docker configuration and gitignore. should work