-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[WIP] Adding docker containers in Gensim. Fix #497 #1121
Conversation
Thanks for the contribution.
|
Hi guys ! I updated the PR with the check in the FAST_VERSION and a README.md to pull this image in docker hub. Now I need to fix some problems when we are pushing this image directly from docker hub. (Running the image gives a After that, we need to create an official image we will need to create a PR to https://github.com/docker-library/official-images and https://github.com/docker-library/docs |
Another update: I fixed the problem with docker hub, but now we need to refer to a fixed version of gensim. For now I created an image called danielbdias/gensim in docker hub to test the environment. Can you check if all the setup in the Dockerfile is ok? With docker file ok, I will start to apply the missing guidelines to start the PR in docker-library/official-images and build the official container. |
consider including binaries for wordrank and fasttext |
And varembed, mallet, dtm |
Hi guys, I've found the installation commands for mallet and fasttext (through pip). How can I install the other packages (wordrank, varembed and dtm)? |
Mallet is actually a java package so it can't be installed through pip |
Hi guys ! Giving some updates on this issue after a while: I've updated the dockerfile to support WordRank, MorphologicalPriorsForWordEmbeddings, DTM and Mallet. Is there a issue yet with the FAST_VERSION... some dependency broke the version. Fixing this problem, I'll be able to upload a version to docker hub and create a gensim user there. Thanks ! |
Thanks @danielbdias What is the exact error with FAST_VERSION? Does the new version of the C compiler not work? |
This docker will be really useful for testing the wrappers during releases. |
Hi @tmylk ! I'm receiving FAST_VERSION = -5 when I'm building the docker. I think that the reason is the dependencies that I installed for WordRank, MorphologicalPriorsForWordEmbeddings. I will check this weekend on a way to solve this. |
It's a nice PR, I would like use this for full test run (with all wrappers) |
This container will be part of our release infrastructure as we need to run all the wrapper tests every release and they are not part of the usual Github commit CI run. |
Continues in #1368 |
I am adding a docker image to run gensim tutorials.
In this PR I created a Dockerfile with Ubuntu 16.04, Python 3 and gensim dependencies and a docker-compose.yml to run the jupyter notebooks.