Comments (12)
I wasn't able to reproduce this with the latest version of Eigen and cnn on El Capitan. Would you mind providing the version numbers of eigen, cnn, clang, and cnn v2?
from dynet.
I'm using Sierra, it might have something to do with that
All other libraries are also the latest
from dynet.
I tried installing pycnn V1 from scratch, the CPU went smoothly
After executing:
cmake .. -DBACKEND=cuda -DCUDA_TOOLKIT_ROOT_DIR=/Developer/NVIDIA/CUDA-7.5/
make -j 4
I got the following errors:
make[2]: *** [cnn/CMakeFiles/cnncuda_shared.dir/cnncuda_shared_generated_gpu-ops.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMake Error at cnncuda_generated_gpu-ops.cu.o.cmake:263 (message):
Error generating file
/Users/talbaumel/cnn/build/cnn/CMakeFiles/cnncuda.dir//./cnncuda_generated_gpu-ops.cu.o
make[2]: *** [cnn/CMakeFiles/cnncuda.dir/cnncuda_generated_gpu-ops.cu.o] Error 1
make[1]: *** [cnn/CMakeFiles/cnncuda.dir/all] Error 2
/usr/include/stdio.h(133): error: expected a ")"
/usr/include/stdio.h(134): error: expected a ")"
/usr/include/stdio.h(134): error: "_Nullable" has already been declared in the current scope
/usr/include/stdio.h(135): error: expected a ")"
/usr/include/stdio.h(135): error: "_Nullable" has already been declared in the current scope
/usr/include/stdio.h(136): error: expected a ")"
/usr/include/stdio.h(136): error: "_Nullable" has already been declared in the current scope
/usr/include/stdio.h(477): error: duplicate parameter name
/usr/include/stdio.h(478): error: duplicate parameter name
/usr/include/stdio.h(479): error: duplicate parameter name
/usr/include/stdlib.h(139): error: expected a ")"
/usr/include/stdlib.h(158): error: expected a ")"
/usr/include/stdlib.h(294): error: expected a ")"
/usr/include/stdlib.h(300): error: expected a ")"
/usr/include/stdlib.h(306): error: expected a ")"
/usr/include/stdlib.h(312): error: expected a ")"
/usr/include/stdlib.h(318): error: expected a ")"
17 errors detected in the compilation of "/var/folders/fr/6yxg1k8j1xsfd5v3b4z20c480000gn/T//tmpxft_000040c3_00000000-22_gpu-ops.compute_52.cpp1.ii".
CMake Error at cnncuda_generated_gpu-ops.cu.o.cmake:263 (message):
Error generating file
/Users/talbaumel/cnn/build/cnn/CMakeFiles/cnncuda.dir//./cnncuda_generated_gpu-ops.cu.o
from dynet.
v1 will be deprecated very soon so I'll focus on v2. I don't have sierra at hand, but once I get my hands on a sierra machine I can try to debug. Of course, if you fix the problem yourself a patch would be appreciated.
from dynet.
@talbaumel Is this issue resolved now? If so, can you close it?
from dynet.
I installed the latest DyNet version using this manual (http://dynet.readthedocs.io/en/latest/python.html) on the os x 10.12
The CPU version worked great
The GPU version didn't (CUDA installed and using GeForce GT 750M)
Same machine is running Theano with GPU support
I can recreate the error but I don't think it's readable
Btw, on my mac while following the instructions I had to change the eigen path when compiling
from dynet.
Hmm, OK. Thanks for checking anyway. This'll have to wait until someone else can replicate, but my Mac doesn't have an nvidia GPU so we're stuck for now.
from dynet.
CUDA seems to be working on OSX since this: #305
Are things working now?
from dynet.
I updated CUDA and it didn't work
btw, the cmake line in the documantation should be:
cmake .. -DEIGEN3_INCLUDE_DIR=../../eigen -DPYTHON=which python
-DBACKEND=cuda
intead of:
cmake .. -DEIGEN3_INCLUDE_DIR=../eigen -DPYTHON=which python
-DBACKEND=cuda
from dynet.
Sorry, not updating CUDA, updating DyNet. Are you using the most recent version from master? And thanks for pointing out the error with the Eigen path.
from dynet.
Yeah, I tried to install the latest version
Thank you for the support and the great library!
from dynet.
Just checking regularly, has this been resolved with the latest version? I've seen this bug reported one other time but never have been able to reproduce it myself.
from dynet.
Related Issues (20)
- Mistaken - please delete
- Eigen for dynet v1.1 HOT 1
- Published Documentation is Outdated
- When using mini-batch, there is a potential risk of future information leakage
- error: Could not download Eigen from 'https://bitbucket.org/eigen/eigen/get/2355b229ea4c.zip' HOT 2
- How does it run on an M1 Mac? HOT 1
- Trying to reuse LSTM weights in Keras from a model built in DyNet HOT 1
- Variable sized inputs
- Add support to release Linux aarch64 wheels
- Compatible versions of Eigen and Dynet for Cuda 11.1 HOT 6
- Cannot pip install dynet. Help!
- does DyNet help in rewiring analysis?
- Unable to build wheel for dynet installation (python 3.9)
- Unable to build wheel for dynet on Windows (pip install dynet) HOT 3
- Dynet GPU installation failure on Amazon Linux instances
- make: *** No targets specified and no makefile found.
- while releasing: ValueError: underlying buffer has been detached
- error: [Errno 2] No such file or directory: 'LICENSE.txt' HOT 4
- Inconsistencies between hand-calculated gradients and machine-calculated
- Is dynet supported anymore? Should users move to an alternative? HOT 1
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 dynet.