mirror of https://github.com/open-mmlab/mmcv.git
Fix pip 20.3 (#703)
* bump version to 1.2.1 * update installation table in readme * break new line * del mmcv upper bound for old installation * reminder on latestpull/706/head
parent
d5241b7087
commit
cff01c5f55
57
README.md
57
README.md
|
@ -52,6 +52,7 @@ Before installing mmcv-full, make sure that PyTorch has been successfully instal
|
||||||
|
|
||||||
We provide pre-built mmcv packages (recommended) with different PyTorch and CUDA versions to simplify the building.
|
We provide pre-built mmcv packages (recommended) with different PyTorch and CUDA versions to simplify the building.
|
||||||
|
|
||||||
|
**For pip < 20.3, please refer to the following table:**
|
||||||
<table class="docutils">
|
<table class="docutils">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -105,6 +106,62 @@ We provide pre-built mmcv packages (recommended) with different PyTorch and CUDA
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
**For pip >= 20.3, please refer to the following table:**
|
||||||
|
|
||||||
|
(NOTE: Please refer to the Releases and replace ``{mmcv_version}`` a specified one. e.g. ``1.2.1``; BTW, specifying version using ``latest`` is currently disabled.)
|
||||||
|
<table class="docutils">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th width="80"> CUDA </th>
|
||||||
|
<th valign="bottom" align="left" width="100">torch 1.7</th>
|
||||||
|
<th valign="bottom" align="left" width="100">torch 1.6</th>
|
||||||
|
<th valign="bottom" align="left" width="100">torch 1.5</th>
|
||||||
|
<th valign="bottom" align="left" width="100">torch 1.4</th>
|
||||||
|
<th valign="bottom" align="left" width="100">torch 1.3</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left">11.0</td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"> </td>
|
||||||
|
<td align="left"> </td>
|
||||||
|
<td align="left"> </td>
|
||||||
|
<td align="left"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left">10.2</td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.7.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.6.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.5.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"> </td>
|
||||||
|
<td align="left"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left">10.1</td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.7.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.5.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.4.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.3.0/index.html</code></pre> </details> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left">9.2</td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu92/torch1.7.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu92/torch1.6.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu92/torch1.5.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu92/torch1.4.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu92/torch1.3.0/index.html</code></pre> </details> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left">cpu</td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.7.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.6.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code> pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.5.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.4.0/index.html</code></pre> </details> </td>
|
||||||
|
<td align="left"><details><summary> install </summary><pre><code>pip install mmcv-full==={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.3.0/index.html</code></pre> </details> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
Another way is to compile locally by running
|
Another way is to compile locally by running
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
Loading…
Reference in New Issue