Skip to content

Instantly share code, notes, and snippets.

@shijieyao
Created June 13, 2018 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shijieyao/ab7319ab81f98fbe124f15ccf3c4bc84 to your computer and use it in GitHub Desktop.
Save shijieyao/ab7319ab81f98fbe124f15ccf3c4bc84 to your computer and use it in GitHub Desktop.
WARNING (theano.sandbox.cuda): The cuda backend is deprecated and will be removed in the next release (v0.10). Please switch to the gpuarray backend. You can get more information about how to switch at this URL:
https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29
Using gpu device 0: GeForce GTX 1060 6GB (CNMeM is disabled, cuDNN None)
INFO: Loading data
INFO: Building model
INFO: Building sampler
INFO: Building f_init...
INFO: Done
INFO: Building f_next..
INFO: Done
INFO: Building f_log_probs...
INFO (theano.gof.compilelock): Refreshing lock /mnt/mscteach_home/s1770642/MSc_thesis/toms/theano/compiledir_Linux-3.10-el7.x86_64-x86_64-with-redhat-7.4-Nitrogen-x86_64-2.7.5-64/lock_dir/lock
INFO: Refreshing lock /mnt/mscteach_home/s1770642/MSc_thesis/toms/theano/compiledir_Linux-3.10-el7.x86_64-x86_64-with-redhat-7.4-Nitrogen-x86_64-2.7.5-64/lock_dir/lock
./models/Japanese-30-char-context-v1/data/train.in.json
./models/Japanese-30-char-context-v1/data/train.out.json
./models/Japanese-30-char-context-v1/data/train.in.json
./models/Japanese-30-char-context-v1/data/train.out.json
./models/Japanese-30-char-context-v1/data/train.in.json
./models/Japanese-30-char-context-v1/data/train.out.json
Traceback (most recent call last):
File "./nematus/nmt.py", line 1917, in <module>
train(**vars(args))
File "./nematus/nmt.py", line 1291, in train
f_log_probs = theano.function(inps, cost, profile=profile)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/compile/function.py", line 326, in function
output_keys=output_keys)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/compile/pfunc.py", line 486, in pfunc
output_keys=output_keys)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/compile/function_module.py", line 1795, in orig_function
defaults)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/compile/function_module.py", line 1661, in create
input_storage=input_storage_lists, storage_map=storage_map)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/link.py", line 699, in make_thunk
storage_map=storage_map)[:3]
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/vm.py", line 1047, in make_all
impl=impl))
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/op.py", line 935, in make_thunk
no_recycling)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/op.py", line 839, in make_c_thunk
output_storage=node_output_storage)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1190, in make_thunk
keep_lock=keep_lock)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1131, in __compile__
keep_lock=keep_lock)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1575, in cthunk_factory
key = self.cmodule_key()
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1271, in cmodule_key
c_compiler=self.c_compiler(),
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1416, in cmodule_key_
version.append(node.op.c_code_cache_version_apply(node))
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/op.py", line 326, in c_code_cache_version_apply
return self.c_code_cache_version()
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/sandbox/cuda/dnn.py", line 2216, in c_code_cache_version
return (0, 6, version())
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/sandbox/cuda/__init__.py", line 429, in dnn_version
profile=False)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/compile/function.py", line 326, in function
output_keys=output_keys)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/compile/pfunc.py", line 486, in pfunc
output_keys=output_keys)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/compile/function_module.py", line 1795, in orig_function
defaults)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/compile/function_module.py", line 1661, in create
input_storage=input_storage_lists, storage_map=storage_map)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/link.py", line 699, in make_thunk
storage_map=storage_map)[:3]
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/vm.py", line 1047, in make_all
impl=impl))
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/op.py", line 935, in make_thunk
no_recycling)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/op.py", line 839, in make_c_thunk
output_storage=node_output_storage)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1190, in make_thunk
keep_lock=keep_lock)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1131, in __compile__
keep_lock=keep_lock)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1586, in cthunk_factory
key=key, lnk=self, keep_lock=keep_lock)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cmodule.py", line 1159, in module_from_key
module = lnk.compile_cmodule(location)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cc.py", line 1489, in compile_cmodule
preargs=preargs)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/sandbox/cuda/nvcc_compiler.py", line 417, in compile_str
return dlimport(lib_filename)
File "/mnt/mscteach_home/s1770642/MSc_thesis/toms/venv/lib/python2.7/site-packages/theano/gof/cmodule.py", line 302, in dlimport
rval = __import__(module_name, {}, {}, [module_name])
ImportError: ('The following error happened while compiling the node', GpuDnnSoftmax{tensor_format='bc01', mode='channel', algo='accurate'}(GpuContiguous.0), '\n', 'The following error happened while compiling the node', <theano.sandbox.cuda.DnnVersion object at 0x1e98e150>(), '\n', '/mnt/mscteach_home/s1770642/MSc_thesis/toms/theano/compiledir_Linux-3.10-el7.x86_64-x86_64-with-redhat-7.4-Nitrogen-x86_64-2.7.5-64/tmptrL7dr/3442132e74e76f61361fb1c73112eef4.so: undefined symbol: cudnnGetVersion', '[<theano.sandbox.cuda.DnnVersion object at 0x1e98e150>()]')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment