Comments (6)
yeah this means that you don't have the cublas
header files installed on your computer.
from juice.
Currently the default feature set includes the cuda
backend, and hence requires an additional set of libraries.
Note that using --no-default-features --features=native
should remove all lib dependencies but openblas
at the cost of some features and availability of certain layer types. Not that this does not work from the workspace, but only from the individual projects!
The dependency situation deems some more attention in the documentation which will be addressed soon.
from juice.
Given that the workspace level features are not yet specialized, this is a bit of sh*t situation right now, we kind of depend on rust-lang/cargo@3a976c1 landing in stable.
The only workaround right now is to edit the workspace Cargo.toml
to disable cuda features by replacing the existing patches section with
[patch.crates-io]
coaster-nn = { path = "./coaster-nn" , default-features = false, features=["native"]}
coaster-blas = { path = "./coaster-blas" , default-features = false, features=["native"]}
coaster = { path = "./coaster" , default-features = false, features=["native"]}
greenglas = { path = "./greenglas" , default-features = false, features=["native"]}
juice = { path = "./juice" , default-features = false, features=["native"]}
rust-blas = { path = "./rust-blas"}
rcublas = { path = "./rcublas/cublas"}
rcublas-sys = { path = "./rcublas/cublas-sys"}
rcudnn = { path = "./rcudnn/cudnn"}
rcudnn-sys = { path = "./rcudnn/cudnn-sys"}
from juice.
Note also that the dependencies like openblas either need be made known to your pkg-config
by defining addition look up dirs where the .pc
files reside, or you set env vars BLAS_STATIC=1 BLAS_INCLUDE_DIR=/where/the/.h/files/are BLAS_LIB_DIR=/where/your/lib/resides BLAS_VARIANT="openblas or BLAS"
This also plays into #110
from juice.
With #121 there will be an improved landing README.md which hopefully avoids all of these struggles.
from juice.
So this should be solved if cuda 11.2+ is used with the current master
-branch. Feel free to re-open.
from juice.
Related Issues (20)
- Error when executing "example-rnn-regression" juice example on aarch64 target HOT 16
- Mismatched type error when compiling juice for aarch64 HOT 1
- error[E0599] no associated item named 'CUDNN_RNN_PADDED_IO_DISABLED' HOT 2
- example/rnn: Batch size must not cause errors in test HOT 1
- Failed to build HOT 4
- Fails to build on rcudnn. HOT 4
- Implement BatchNormalization2d Layer HOT 2
- Native support for Convolution Layer HOT 2
- Potential bug in NegativeLogLikelihood impl HOT 9
- cblas linker error HOT 12
- Juice for Deep Reinforcement Learning HOT 17
- add non-cuda examples HOT 3
- Fails to build with default features off HOT 1
- cuda-memcheck: "Address ... is out of bounds" HOT 1
- Unclear how to correctly compute dot product HOT 1
- The Juice book is out of date
- Unhelpful panic message on (presumably?) invalid inputs to `forward` HOT 1
- In new arch, make Layer operations return Result instead of panicking internally
- How can you continue training a model from a file? HOT 15
- Merge Layer
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 juice.