在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):spearow/juice开源软件地址(OpenSource Url):https://github.com/spearow/juice开源编程语言(OpenSource Language):Rust 93.7%开源软件介绍(OpenSource Introduction):JuiceThis is the workspace project for
Please consult the individual README.md files for more information. Juice ExamplesCLI for running juice examples. More examples and benchmark tests can be found at the juice examples directory. Install CLIDISCLAIMER: Currently both CUDA and cuDNN are required for the examples to build. Compile and call the build. # install rust, if you need to
curl -sSf https://static.rust-lang.org/rustup.sh | sh
# download the code
git clone [email protected]:spearow/juice.git && cd juice/juice-examples
# build the binary
cargo build --release
# and you should see the CLI help page
../target/release/juice-examples --help
# which means, you can run the examples from the juice-examples README DependenciesCap'n'Protocapnproto is a data interchange format that is used to store and load networks with weights for Juice.
CudaGetting the cuda libraries up poses to be the first road-block many users face. To get things working one needs to set the following environment variables: # examplary paths, unlikely to work for your local setup!
export CUDNN_INCLUDE_DIR=/opt/cuda/include
export CUDNN_LIB_DIR=/opt/cuda/targets/x86_64-linux/lib/
export CUBLAS_INCLUDE_DIR=/opt/cuda/include
export CUBLAS_LIB_DIR=/opt/cuda/targets/x86_64-linux/lib/ depending on your local installation setup. The currently supported cuda version is Note that you need a capable nvidia device in order to run the cuda backend. OpenCLYou need the apropriate loader and device libraries. Since the BLASBlas is a linear algebra used by the
By default an attempt is made to resolve the library via Overriding via # examplary paths, unlikely to work for your local setup!
export BLAS_LIB_DIR=/opt/blas/lib64/
export BLAS_INCLUDE_DIR=/opt/blas/include/ is also supported. Linkage for the blas library variant is determined by setting ArchLinux usersArchLinux Replace |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论