mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-04 14:04:24 +03:00
merge
This commit is contained in:
commit
c05b18071a
2
.gitignore
vendored
2
.gitignore
vendored
@ -32,5 +32,7 @@
|
|||||||
|
|
||||||
# Temporaty files created by editors
|
# Temporaty files created by editors
|
||||||
.*.sw*
|
.*.sw*
|
||||||
|
*~
|
||||||
|
|
||||||
|
# CMake files
|
||||||
build
|
build
|
||||||
|
19
README.md
19
README.md
@ -6,7 +6,24 @@ with operator overloading.
|
|||||||
In honour of Marian Rejewski, a Polish mathematician and
|
In honour of Marian Rejewski, a Polish mathematician and
|
||||||
cryptologist.
|
cryptologist.
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
|
||||||
|
Requirements:
|
||||||
|
|
||||||
|
* g++ with C++14
|
||||||
|
* CUDA and CuDNN
|
||||||
|
|
||||||
|
Exporting some paths for CuDNN may be required (put it, for example, in your `.bashrc` file):
|
||||||
|
|
||||||
|
export PATH=$PATH:$HOME/.local/bin:/usr/local/cuda/bin
|
||||||
|
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cudnn-5/lib64
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cudnn-5/lib64
|
||||||
|
export CPATH=$CPATH:/usr/local/cudnn-5/include
|
||||||
|
|
||||||
|
Compilation with `cmake > 3.5`:
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j
|
make -j
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user