Comments (15)
@spadavec I had the same issue and build this today https://hub.docker.com/r/xoryouyou/torch-rnn/
from docker-torch-rnn.
I think this is an issue that one needs to report to the main torch-rnn repo (https://github.com/jcjohnson/torch-rnn) and not on this one.
First of all, are you for sure running a CUDA video card?
If yes, let's try something, what happens if you run nvidia-smi
inside the container?
Does it show any relevant info?
from docker-torch-rnn.
@crisbal thanks for the heads up--i will post this to the torch-rnn repo instead. For what its worth, i do have a gpu installed:
root@9be35619d034:~/torch-rnn# nvidia-smi
Mon Jul 11 19:17:26 2016
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.27 Driver Version: 367.27 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1080 Off | 0000:01:00.0 On | N/A |
| 28% 41C P8 7W / 180W | 725MiB / 8113MiB | 1% Default |
+-------------------------------+----------------------+----------------------++-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
from docker-torch-rnn.
Let me know if in the end it is my fault or their :)
One random thought I had: since you have a 1080 maybe it uses some new kind of CUDA that maybe it is not well supported by either nvidia-docker or torch.
from docker-torch-rnn.
@crisbal it looks like the issue is that a newer version of CUDA is needed:
Did you have any plans to make a CUDA8 version of the docker? Thanks for all the work you've done!
from docker-torch-rnn.
As soon as I get my hands on a Cuda machine and on fast Internet I will.
Sorry I can't do it ASAP.
On Tue, Jul 12, 2016, 06:50 spadavec [email protected] wrote:
@crisbal https://github.com/crisbal it looks like the issue is that a
newer version of CUDA is needed:jcjohnson/torch-rnn#122
jcjohnson/torch-rnn#122Did you have any plans to make a CUDA8 version of the docker? Thanks for
all the work you've done!—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACmgZhqgcoWja9U4O3BL8Clff0Bd7u2iks5qUx0kgaJpZM4JGsle
.
from docker-torch-rnn.
I got this error today as I'm using a 1080 and have cuda 8 installed.
@xoryouyou, I tried the command on the page you posted, but I'm getting an error
docker pull xoryouyou/torch-rnn Using default tag: latest Error response from daemon: manifest for xoryouyou/torch-rnn:latest not found
from docker-torch-rnn.
@HandsomeDevilv112 yeah the images it was only tagged as 1.0
and not latest
I updated it.
from docker-torch-rnn.
@xoryouyou: Cool! Much obliged. That seems to have done the trick. My apologies if there was a way for me to fix that myself and I just didn't catch it.
from docker-torch-rnn.
@xoryouyou Do you think you can share the Docker file also? I want to have a look on how you build your image.
I'm trying to use https://github.com/crisbal/docker-torch-rnn/blob/master/CUDA/8.0/Dockerfile
but it does not compile
It fails at this section:
RUN git clone https://github.com/jcjohnson/torch-rnn && \
pip install -r torch-rnn/requirements.txt
from docker-torch-rnn.
@valentinvieriu sorry I currently don't have access to that machine where I build the torch-rnn but i'll see if I can recreate your issue.
from docker-torch-rnn.
This is the issue that pops out:
'''
copying h5py/tests/hl/test_file.py -> build/lib.linux-x86_64-2.7/h5py/tests/hl
running build_ext
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-MyYa9y/h5py/setup.py", line 140, in
cmdclass = CMDCLASS,
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 179, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-build-MyYa9y/h5py/setup_build.py", line 140, in run
from Cython.Build import cythonize
ImportError: No module named Cython.Build
'''
This is by uisng https://github.com/crisbal/docker-torch-rnn/blob/master/CUDA/8.0/Dockerfile
as said it fails at the:
RUN git clone https://github.com/jcjohnson/torch-rnn && \
pip install -r torch-rnn/requirements.txt
section
Any help is appreciated. I'm not very familiar with the dependencies, I plan only to use this as a tool.
Thank you @xoryouyou
from docker-torch-rnn.
Ok for future references, this fixed the building issue on ubuntu 16.04
replace
RUN git clone https://github.com/jcjohnson/torch-rnn && \
pip install -r torch-rnn/requirements.txt
from https://github.com/crisbal/docker-torch-rnn/blob/master/CUDA/8.0/Dockerfile
with
#torch-rnn and python requirements
# we use https://github.com/jcjohnson/torch-rnn/blob/master/requirements.txt as a quideline
WORKDIR /root
RUN apt-get install -y cython
RUN pip install --upgrade pip
RUN pip install Cython==0.23.4
RUN pip install numpy==1.10.4
RUN pip install argparse==1.2.1
RUN HDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial/ pip install h5py==2.5.0
RUN pip install six==1.10.0
RUN git clone https://github.com/jcjohnson/torch-rnn
I will work on a Docker image and share it with the rest when it's finished
from docker-torch-rnn.
@valentinvieriu I am currently building with the crisbal/docker-torch-rnn
image on arch and it looks to build fine. Will report when done.
from docker-torch-rnn.
Build on Linux 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux
with Docker version 17.06.0-ce, build 3dfb8343
build_log.txt
from docker-torch-rnn.
Related Issues (10)
- Noob Question: How do I use this with my own files? HOT 6
- the train.lua stop print informatation when the input file is bigger than 500MB?
- Error when training HOT 1
- Error response from daemon: Cannot start container blarblarxxx: no such file or directory HOT 1
- How to view training progress when run the container in detached mode? HOT 1
- train.lua cannot find cutorch HOT 1
- Manual Manipulation of Model Weights HOT 2
- cuda6.5 tag is not in Docker repos HOT 2
- CUDA 8.0 build is not in Docker registry HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-torch-rnn.