We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf32e2d commit 9e7b2a9Copy full SHA for 9e7b2a9
INSTALL.rst
@@ -44,6 +44,18 @@ From source
44
git clone https://github.com/k2-fsa/k2.git
45
cd k2
46
python3 setup.py install
47
+
48
+From source (with CUDA support)
49
+=========================
50
51
+.. code-block:: bash
52
53
+ git clone https://github.com/k2-fsa/k2.git
54
+ cd k2
55
+ export K2_CMAKE_ARGS="-DK2_WITH_CUDA=ON -DCMAKE_BUILD_TYPE=Release"
56
+ export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/lib:$LD_LIBRARY_PATH
57
+ export PATH=$PATH:/usr/local/cuda/bin
58
+ python3 setup.py install
59
60
Read `<https://k2.readthedocs.io/en/latest/installation/from_source.html>`_
61
to learn more
0 commit comments