You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two options to use for BLAS (linear algebra): [Intel® MKL](https://software.intel.com/en-us/intel-mkl) and OpenBLAS. [Intel® MKL](https://software.intel.com/en-us/intel-mkl) is made by Intel and is optimised
81
88
for their processors. It isn't free, but you can get [Community Licensing for Intel® Performance Libraries
82
89
](https://software.intel.com/sites/campaigns/nest/) or as part of Intel product suite if you [qualify as students, educators, academic researchers, and open source contributors](https://software.intel.com/en-us/qualify-for-free-software). OpenBLAS is free alternative with similar performance.
83
90
84
-
6. If using [Intel® MKL](https://software.intel.com/en-us/intel-mkl), [install it](https://software.intel.com/en-us/intel-mkl/try-buy).
91
+
7. If using [Intel® MKL](https://software.intel.com/en-us/intel-mkl), [install it](https://software.intel.com/en-us/intel-mkl/try-buy).
85
92
86
-
7. If using OpenBLAS, download the binary packages.
93
+
8. If using OpenBLAS, download the binary packages.
87
94
88
95
https://sourceforge.net/projects/openblas
89
96
@@ -94,7 +101,7 @@ for their processors. It isn't free, but you can get [Community Licensing for In
94
101
95
102
**Be careful to download "Win64-int32" and not "Win64-int64"!**
96
103
97
-
8. If you want enabled [CUDA](http://www.nvidia.com/object/cuda_home_new.html) support, download and install [NVIDIA CUDA SDK](https://developer.nvidia.com/cuda-downloads).
104
+
9. If you want enabled [CUDA](http://www.nvidia.com/object/cuda_home_new.html) support, download and install [NVIDIA CUDA SDK](https://developer.nvidia.com/cuda-downloads).
98
105
Be careful and strive for as standard install as possible. The installer
99
106
set certain environment variables on which the MSVC Build rules rely.
100
107
If you call "set" in the command line, you should see:
@@ -107,7 +114,7 @@ for their processors. It isn't free, but you can get [Community Licensing for In
107
114
108
115
The first one (`CUDA_PATH`) is particularly important.
109
116
110
-
9. Open the OpenFST solution in Visual Studio
117
+
10. Open the OpenFST solution in Visual Studio
111
118
112
119
* for [Visual Studio 2013](https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx), the correct solution is in `MSVC12` directory
113
120
* for [Visual Studio 2015](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx), the correct solution is in `MSVC14` directory
@@ -118,14 +125,14 @@ for their processors. It isn't free, but you can get [Community Licensing for In
118
125
119
126
If either of the two won't build, you should stop here and start figuring what's different!
120
127
121
-
10. Enter the `(kaldi)/windows` directory
128
+
11. Enter the `(kaldi)/windows` directory
122
129
123
130
Example:
124
131
125
132
(kaldi)/tools/openfst$ cd ../../windows
126
133
(kaldi)/windows $ pwd
127
134
128
-
11. Copy `variables.props.dev` to `variables.props`.
135
+
12. Copy `variables.props.dev` to `variables.props`.
129
136
Then modify the file `variables.props` to reflect
130
137
the correct paths, using your favorite text editor.
131
138
Don't worry, it's a text file, even though you have to be
@@ -138,10 +145,10 @@ for their processors. It isn't free, but you can get [Community Licensing for In
138
145
No matter what you plan to use, set both the `OPENFST*` and `PTHREADW`
139
146
variables correctly
140
147
141
-
12. For OpenBLAS support, copy the file `kaldiwin_openblas.props` to `kaldiwin.props`
142
-
13. For MKL support, copy the `kaldiwin_mkl.props` to `kaldiwin.props`
148
+
13. For OpenBLAS support, copy the file `kaldiwin_openblas.props` to `kaldiwin.props`
149
+
14. For MKL support, copy the `kaldiwin_mkl.props` to `kaldiwin.props`
143
150
144
-
14. Call the script that generates the MSVC solution
151
+
15. Call the script that generates the MSVC solution
0 commit comments