-
Notifications
You must be signed in to change notification settings - Fork 194
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
Using docker without conda #180
Comments
Why not install a conda in your docker? |
It's a long story. I have many other packages installed in the same image, and I have used this for development since the very beginning. If I switch to conda, I have to move all my dependencies into conda, which a few of them don't work well with conda. So, in this case, should I install a stand-alone mkl separately? |
Try to use pip install mkl. And set path of your mkl correctly. TurboTransformers/cmake/FindMKL.cmake Line 42 in f2d66bc
|
After hours of struggling with strange errors, I finally got the following output. It is compiled using gcc/g++-6.5.0. It is running on v100 gpu. Test project /tmp/build 100% tests passed, 0 tests failed out of 24 Total Test time (real) = 323.49 sec |
Congratulations. It works. Could you please share your dockerfile or some operation logs for us. |
Sure. I can send the dockerfile to your gmail. |
@auspicious3000 Could you please provide dockerfile where you set up without conda? I tried hard to make it work, but this image seems to be invalid (it was created long ago), even with conda. Could you please send me the dockerfile to lyriccoder@gmail.com or provide it here? |
@lyriccoder I installed most things manually after starting the docker. Unfortunately, those steps are not reflected in the dockerfile. |
Could you please provide everything what you have, I will add it. I mean both docker file and commands you ran manually? |
@lyriccoder Unfortunately, it's been a long time, thus I don't have the commands anymore. The dockerfile is just a simple base image. |
I tried to install the turbotransformers into my own docker image. There is no conda in my docker image. I installed packages directly using apt-get and pip.
However, when executing sh tools/build_and_run_unittests.sh $PWD -DWITH_GPU=ON, the compiler stuck on finding mkl. After some debugging, I found the $MKLROOT is empty and the /opt directory is also empty.
When building my docker image, I used Dockerfile_release.gpu as a reference and installed mkl-include and other necessary packages using pip.
I was wondering if I missed anything when building the image?
Thanks in advance for your time and help!
The text was updated successfully, but these errors were encountered: