Comments (5)
Did you install Cuda and cudnn?
https://developer.nvidia.com/accelerated-computing-toolkit
from leaf.
yep, i am sure i've installed them since I can compile and run other applications.
they are located at
/usr/lib/x86_64-linux-gnu/libcudnn.so
/usr/lib/x86_64-linux-gnu/libcuda.so
from leaf.
may be the cudnn version not match, try cudnn v3
from leaf.
This Stack Overflow answer fix that problem for me.
export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
from leaf.
Though now, I'm running into undefined symbol errors.
note: Undefined symbols for architecture x86_64:
"_cudnnConvolutionBackwardData_v3", referenced from:
cudnn::api::convolution::_$LT$impl$u20$API$GT$::convolution_backward_data::he8223ff51775f8a6 in libcudnn-e530283dd2c0d0c1.rlib(cudnn-e530283dd2c0d0c1.0.o)
"_cudnnConvolutionBackwardFilter_v3", referenced from:
cudnn::api::convolution::_$LT$impl$u20$API$GT$::convolution_backward_filter::h75fc249aacd45956 in libcudnn-e530283dd2c0d0c1.rlib(cudnn-e530283dd2c0d0c1.0.o)
"_cudnnSetConvolutionNdDescriptor_v3", referenced from:
cudnn::convolution_descriptor::ConvolutionDescriptor::new::h06812852cb5d2f0b in libcudnn-e530283dd2c0d0c1.rlib(cudnn-e530283dd2c0d0c1.0.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
OS: Mac OS X 10.11.5
Cargo configuration: native + cuda
[features]
default = ["native", "cuda"]
native = ["leaf/native", "collenchyma/native"]
opencl = ["leaf/opencl", "collenchyma/opencl"]
cuda = ["leaf/cuda", "collenchyma/cuda"]
btw, I had to disable opencl support because the crate uses the -lOpenCL
instead of '-framework OpenCL` flag needed on Mac OS.
Edit: there's an issue for this in the examples directory: autumnai/leaf-examples#9
from leaf.
Related Issues (20)
- Windows Bug HOT 3
- Remove build documentation from the repo
- Use of ArcLocks
- This project needs capnproto and should mention it HOT 2
- Clippy is very angry HOT 2
- question about negative log likelihood loss layer
- Current status of leaf? HOT 45
- opencl and missing layer ops for cnn HOT 2
- build error with rustc 1.12 HOT 2
- Provide docker image and Dockerfile HOT 1
- cannot run example files in leaf HOT 1
- THIS IS A DEAD PROJECT HOT 2
- is leaf still active? HOT 8
- Fix gitcop link to contribution guidelines HOT 1
- Investigate Rust "impl specialization" HOT 2
- Use GPU for SGD weight update calculations HOT 1
- Create Leaf Book / high-level documentation HOT 8
- Unresolved Import ConvolutionConfig / Pooling HOT 4
- name confuse HOT 2
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 leaf.