Skip to content

Commit cd79cff

Browse files
committed
Merge remote-tracking branch 'origin/master' into develop
2 parents 95775ab + be294d8 commit cd79cff

File tree

6 files changed

+21
-9
lines changed

6 files changed

+21
-9
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@ neighbor search small world approach.](http://www.iiis.org/CDs2011/CD2011IDI/ICT
7272
* Amato, Giuseppe, and Pasquale Savino. 2008 Approximate similarity search in metric spaces using inverted files. [**[BibTex]**](http://dblp.uni-trier.de/rec/bibtex/conf/infoscale/AmatoS08)
7373
* Gonzalez, Edgar Chavez, Karina Figueroa, and Gonzalo Navarro. [Effective proximity retrieval by ordering permutations.](http://www.dcc.uchile.cl/~gnavarro/ps/tpami07.pdf) Pattern Analysis and Machine Intelligence, IEEE Transactions on 30.9 (2008): 1647-1658. [**[BibTex]**](http://dblp.uni-trier.de/rec/bibtex/journals/pami/ChavezFN08)
7474

75-

docs/_sources/quickstart.rst.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ This project works with Python on version 2.7+ and 3.5+, and on Linux, OSX and t
88

99
``pip install nmslib``
1010

11-
You may need to install Python dev-files. On Ubuntu, you can do it as follows:
11+
This command will attempt to install a pre-compiled binary, which can be a bit slower.
12+
For best performance, the library needs to be installed from sources:
13+
14+
``pip install --no-binary :all: nmslib``
15+
16+
For installation from sources, you may need to install Python dev-files. On Ubuntu, you can do it as follows:
1217

1318
``sudo apt-get install python3-dev``
1419

docs/quickstart.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ <h1>Python bindings for NMSLIB<a class="headerlink" href="#python-bindings-for-n
172172
<h2>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h2>
173173
<p>This project works with Python on version 2.7+ and 3.5+, and on Linux, OSX and the Windows operating systems. To install:</p>
174174
<p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">nmslib</span></code></p>
175-
<p>You may need to install Python dev-files. On Ubuntu, you can do it as follows:</p>
175+
<p>This command will attempt to install a pre-compiled binary, which can be a bit slower.
176+
For best performance, the library needs to be installed from sources:</p>
177+
<p><code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">--no-binary</span> <span class="pre">:all:</span> <span class="pre">nmslib</span></code></p>
178+
<p>For installation from sources, you may need to install Python dev-files. On Ubuntu, you can do it as follows:</p>
176179
<p><code class="docutils literal notranslate"><span class="pre">sudo</span> <span class="pre">apt-get</span> <span class="pre">install</span> <span class="pre">python3-dev</span></code></p>
177180
<p>Building on Windows requires Visual Studio 2015, see <a class="reference external" href="https://github.com/pybind/python_example#installation">this project for more information</a>.</p>
178181
</div>

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python_bindings/docs/quickstart.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ This project works with Python on version 2.7+ and 3.5+, and on Linux, OSX and t
88

99
``pip install nmslib``
1010

11-
You may need to install Python dev-files. On Ubuntu, you can do it as follows:
11+
This command will attempt to install a pre-compiled binary, which can be a bit slower.
12+
For best performance, the library needs to be installed from sources:
13+
14+
``pip install --no-binary :all: nmslib``
15+
16+
For installation from sources, you may need to install Python dev-files. On Ubuntu, you can do it as follows:
1217

1318
``sudo apt-get install python3-dev``
1419

python_bindings/tensorflow/cpu_feature_guard.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,19 +145,19 @@ void InfoAboutUnusedCPUFeatures() {
145145
if (!missing_instructions.empty()) {
146146
/*
147147
#ifndef INTEL_MKL
148-
std::cout << "Your CPU supports instructions that this TensorFlow "
148+
std::cerr << "Your CPU supports instructions that this TensorFlow "
149149
<< "binary was not compiled to use:" << missing_instructions << std::endl;
150150
#else
151-
std::cout << "This TensorFlow binary is optimized with Intel(R) MKL-DNN "
151+
std::cerr << "This TensorFlow binary is optimized with Intel(R) MKL-DNN "
152152
<< "to use the following CPU instructions in performance "
153153
<< "critical operations: " << missing_instructions << std::endl
154154
<< "To enable them in non-MKL-DNN operations, rebuild "
155155
<< "TensorFlow with the appropriate compiler flags." << std::endl;
156156
#endif
157157
*/
158-
std::cout << "Your CPU supports instructions that this binary "
158+
std::cerr << "Your CPU supports instructions that this binary "
159159
<< "was not compiled to use:" << missing_instructions << std::endl;
160-
std::cout << "For maximum performance, you can install NMSLIB from sources " << std::endl
160+
std::cerr << "For maximum performance, you can install NMSLIB from sources " << std::endl
161161
<< "pip install --no-binary :all: nmslib" << std::endl;
162162
}
163163
}

0 commit comments

Comments
 (0)