Unverified Commit 7c136e79 authored by Zaida Zhou's avatar Zaida Zhou Committed by GitHub
Browse files

Update the supported torch and cuda versions in README (#2687)

* Update the supported torch and cuda versions in README

* update version.json

* use ubuntu-22.04

* refine
parent c74b4889
...@@ -8,7 +8,7 @@ concurrency: ...@@ -8,7 +8,7 @@ concurrency:
jobs: jobs:
build-n-publish: build-n-publish:
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
if: startsWith(github.event.ref, 'refs/tags') if: startsWith(github.event.ref, 'refs/tags')
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
...@@ -21,14 +21,14 @@ jobs: ...@@ -21,14 +21,14 @@ jobs:
- name: Build MMCV - name: Build MMCV
run: | run: |
sed -i "s/os.getenv('MMCV_WITH_OPS', '1')/os.getenv('MMCV_WITH_OPS', '0')/g" setup.py sed -i "s/os.getenv('MMCV_WITH_OPS', '1')/os.getenv('MMCV_WITH_OPS', '0')/g" setup.py
python setup.py sdist bdist_wheel python setup.py sdist
- name: Publish distribution to PyPI - name: Publish distribution to PyPI
run: | run: |
pip install twine pip install twine
twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }} twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}
build-n-publish_with_ops: build-n-publish_with_ops:
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
if: startsWith(github.event.ref, 'refs/tags') if: startsWith(github.event.ref, 'refs/tags')
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
......
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
<div>&nbsp;</div> <div>&nbsp;</div>
</div> </div>
[![docs](https://img.shields.io/badge/docs-2.x-blue)](https://mmcv.readthedocs.io/en/2.x/) [![docs](https://img.shields.io/badge/docs-latest-blue)](https://mmcv.readthedocs.io/en/latest/)
[![platform](https://img.shields.io/badge/platform-Linux%7CWindows%7CmacOS-blue)](https://mmcv.readthedocs.io/en/2.x/get_started/installation.html) [![platform](https://img.shields.io/badge/platform-Linux%7CWindows%7CmacOS-blue)](https://mmcv.readthedocs.io/en/latest/get_started/installation.html)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mmcv)](https://pypi.org/project/mmcv/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mmcv)](https://pypi.org/project/mmcv/)
[![pytorch](https://img.shields.io/badge/pytorch-1.6~1.13-orange)](https://pytorch.org/get-started/previous-versions/) [![pytorch](https://img.shields.io/badge/pytorch-1.8~2.0-orange)](https://pytorch.org/get-started/previous-versions/)
[![cuda](https://img.shields.io/badge/cuda-9.2~11.7-green)](https://developer.nvidia.com/cuda-downloads) [![cuda](https://img.shields.io/badge/cuda-10.1~11.8-green)](https://developer.nvidia.com/cuda-downloads)
[![PyPI](https://img.shields.io/pypi/v/mmcv)](https://pypi.org/project/mmcv) [![PyPI](https://img.shields.io/pypi/v/mmcv)](https://pypi.org/project/mmcv)
[![badge](https://github.com/open-mmlab/mmcv/workflows/build/badge.svg)](https://github.com/open-mmlab/mmcv/actions) [![badge](https://github.com/open-mmlab/mmcv/workflows/build/badge.svg)](https://github.com/open-mmlab/mmcv/actions)
[![codecov](https://codecov.io/gh/open-mmlab/mmcv/branch/master/graph/badge.svg)](https://codecov.io/gh/open-mmlab/mmcv) [![codecov](https://codecov.io/gh/open-mmlab/mmcv/branch/master/graph/badge.svg)](https://codecov.io/gh/open-mmlab/mmcv)
...@@ -35,11 +35,11 @@ English | [简体中文](README_zh-CN.md) ...@@ -35,11 +35,11 @@ English | [简体中文](README_zh-CN.md)
MMCV is a foundational library for computer vision research and it provides the following functionalities: MMCV is a foundational library for computer vision research and it provides the following functionalities:
- [Image/Video processing](https://mmcv.readthedocs.io/en/2.x/understand_mmcv/data_process.html) - [Image/Video processing](https://mmcv.readthedocs.io/en/latest/understand_mmcv/data_process.html)
- [Image and annotation visualization](https://mmcv.readthedocs.io/en/2.x/understand_mmcv/visualization.html) - [Image and annotation visualization](https://mmcv.readthedocs.io/en/latest/understand_mmcv/visualization.html)
- [Image transformation](https://mmcv.readthedocs.io/en/2.x/understand_mmcv/data_transform.html) - [Image transformation](https://mmcv.readthedocs.io/en/latest/understand_mmcv/data_transform.html)
- [Various CNN architectures](https://mmcv.readthedocs.io/en/2.x/understand_mmcv/cnn.html) - [Various CNN architectures](https://mmcv.readthedocs.io/en/latest/understand_mmcv/cnn.html)
- [High-quality implementation of common CPU and CUDA ops](https://mmcv.readthedocs.io/en/2.x/understand_mmcv/ops.html) - [High-quality implementation of common CPU and CUDA ops](https://mmcv.readthedocs.io/en/latest/understand_mmcv/ops.html)
It supports the following systems: It supports the following systems:
...@@ -47,7 +47,7 @@ It supports the following systems: ...@@ -47,7 +47,7 @@ It supports the following systems:
- Windows - Windows
- macOS - macOS
See the [documentation](http://mmcv.readthedocs.io/en/2.x) for more features and usage. See the [documentation](http://mmcv.readthedocs.io/en/latest) for more features and usage.
Note: MMCV requires Python 3.7+. Note: MMCV requires Python 3.7+.
...@@ -68,23 +68,23 @@ The command to install mmcv: ...@@ -68,23 +68,23 @@ The command to install mmcv:
```bash ```bash
pip install -U openmim pip install -U openmim
mim install "mmcv>=2.0.0rc1" mim install mmcv
``` ```
If you need to specify the version of mmcv, you can use the following command: If you need to specify the version of mmcv, you can use the following command:
```bash ```bash
mim install mmcv==2.0.0rc3 mim install mmcv==2.0.0
``` ```
If you find that the above installation command does not use a pre-built package ending with `.whl` but a source package ending with `.tar.gz`, you may not have a pre-build package corresponding to the PyTorch or CUDA or mmcv version, in which case you can [build mmcv from source](https://mmcv.readthedocs.io/en/2.x/get_started/build.html). If you find that the above installation command does not use a pre-built package ending with `.whl` but a source package ending with `.tar.gz`, you may not have a pre-build package corresponding to the PyTorch or CUDA or mmcv version, in which case you can [build mmcv from source](https://mmcv.readthedocs.io/en/latest/get_started/build.html).
<details> <details>
<summary>Installation log using pre-built packages</summary> <summary>Installation log using pre-built packages</summary>
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br /> Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br />
Collecting mmcv<br /> Collecting mmcv<br />
<b>Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0rc3-cp38-cp38-manylinux1_x86_64.whl</b> <b>Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0-cp38-cp38-manylinux1_x86_64.whl</b>
</details> </details>
...@@ -92,12 +92,12 @@ Collecting mmcv<br /> ...@@ -92,12 +92,12 @@ Collecting mmcv<br />
<summary>Installation log using source packages</summary> <summary>Installation log using source packages</summary>
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br /> Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br />
Collecting mmcv==2.0.0rc3<br /> Collecting mmcv==2.0.0<br />
<b>Downloading mmcv-2.0.0rc3.tar.gz</b> <b>Downloading mmcv-2.0.0.tar.gz</b>
</details> </details>
For more installation methods, please refer to the [Installation documentation](https://mmcv.readthedocs.io/en/2.x/get_started/installation.html). For more installation methods, please refer to the [Installation documentation](https://mmcv.readthedocs.io/en/latest/get_started/installation.html).
### Install mmcv-lite ### Install mmcv-lite
...@@ -105,15 +105,15 @@ If you need to use PyTorch-related modules, make sure PyTorch has been successfu ...@@ -105,15 +105,15 @@ If you need to use PyTorch-related modules, make sure PyTorch has been successfu
```bash ```bash
pip install -U openmim pip install -U openmim
mim install "mmcv-lite>=2.0.0rc1" mim install mmcv-lite
``` ```
## FAQ ## FAQ
If you face some installation issues, CUDA related issues or RuntimeErrors, If you face some installation issues, CUDA related issues or RuntimeErrors,
you may first refer to this [Frequently Asked Questions](https://mmcv.readthedocs.io/en/2.x/faq.html). you may first refer to this [Frequently Asked Questions](https://mmcv.readthedocs.io/en/latest/faq.html).
If you face installation problems or runtime issues, you may first refer to this [Frequently Asked Questions](https://mmcv.readthedocs.io/en/2.x/faq.html) to see if there is a solution. If the problem is still not solved, feel free to open an [issue](https://github.com/open-mmlab/mmcv/issues). If you face installation problems or runtime issues, you may first refer to this [Frequently Asked Questions](https://mmcv.readthedocs.io/en/latest/faq.html) to see if there is a solution. If the problem is still not solved, feel free to open an [issue](https://github.com/open-mmlab/mmcv/issues).
## Citation ## Citation
......
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
<div>&nbsp;</div> <div>&nbsp;</div>
</div> </div>
[![docs](https://img.shields.io/badge/docs-2.x-blue)](https://mmcv.readthedocs.io/zh_CN/2.x/) [![docs](https://img.shields.io/badge/docs-latest-blue)](https://mmcv.readthedocs.io/zh_CN/latest/)
[![platform](https://img.shields.io/badge/platform-Linux%7CWindows%7CmacOS-blue)](https://mmcv.readthedocs.io/zh_CN/2.x/get_started/installation.html) [![platform](https://img.shields.io/badge/platform-Linux%7CWindows%7CmacOS-blue)](https://mmcv.readthedocs.io/zh_CN/latest/get_started/installation.html)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mmcv)](https://pypi.org/project/mmcv/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mmcv)](https://pypi.org/project/mmcv/)
[![pytorch](https://img.shields.io/badge/pytorch-1.6~1.13-orange)](https://pytorch.org/get-started/previous-versions/) [![pytorch](https://img.shields.io/badge/pytorch-1.8~2.0-orange)](https://pytorch.org/get-started/previous-versions/)
[![cuda](https://img.shields.io/badge/cuda-9.2~11.7-green)](https://developer.nvidia.com/cuda-downloads) [![cuda](https://img.shields.io/badge/cuda-10.1~11.8-green)](https://developer.nvidia.com/cuda-downloads)
[![PyPI](https://img.shields.io/pypi/v/mmcv)](https://pypi.org/project/mmcv) [![PyPI](https://img.shields.io/pypi/v/mmcv)](https://pypi.org/project/mmcv)
[![badge](https://github.com/open-mmlab/mmcv/workflows/build/badge.svg)](https://github.com/open-mmlab/mmcv/actions) [![badge](https://github.com/open-mmlab/mmcv/workflows/build/badge.svg)](https://github.com/open-mmlab/mmcv/actions)
[![codecov](https://codecov.io/gh/open-mmlab/mmcv/branch/master/graph/badge.svg)](https://codecov.io/gh/open-mmlab/mmcv) [![codecov](https://codecov.io/gh/open-mmlab/mmcv/branch/master/graph/badge.svg)](https://codecov.io/gh/open-mmlab/mmcv)
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
MMCV 是一个面向计算机视觉的基础库,它提供了以下功能: MMCV 是一个面向计算机视觉的基础库,它提供了以下功能:
- [图像和视频处理](https://mmcv.readthedocs.io/zh_CN/2.x/understand_mmcv/data_process.html) - [图像和视频处理](https://mmcv.readthedocs.io/zh_CN/latest/understand_mmcv/data_process.html)
- [图像和标注结果可视化](https://mmcv.readthedocs.io/zh_CN/2.x/understand_mmcv/visualization.html) - [图像和标注结果可视化](https://mmcv.readthedocs.io/zh_CN/latest/understand_mmcv/visualization.html)
- [图像变换](https://mmcv.readthedocs.io/zh_CN/2.x/understand_mmcv/data_transform.html) - [图像变换](https://mmcv.readthedocs.io/zh_CN/latest/understand_mmcv/data_transform.html)
- [多种 CNN 网络结构](https://mmcv.readthedocs.io/zh_CN/2.x/understand_mmcv/cnn.html) - [多种 CNN 网络结构](https://mmcv.readthedocs.io/zh_CN/latest/understand_mmcv/cnn.html)
- [高质量实现的常见 CUDA 算子](https://mmcv.readthedocs.io/zh_CN/2.x/understand_mmcv/ops.html) - [高质量实现的常见 CUDA 算子](https://mmcv.readthedocs.io/zh_CN/latest/understand_mmcv/ops.html)
MMCV 支持多种平台,包括: MMCV 支持多种平台,包括:
...@@ -47,7 +47,7 @@ MMCV 支持多种平台,包括: ...@@ -47,7 +47,7 @@ MMCV 支持多种平台,包括:
- Windows - Windows
- macOS - macOS
如想了解更多特性和使用,请参考[文档](http://mmcv.readthedocs.io/zh_CN/2.x) 如想了解更多特性和使用,请参考[文档](http://mmcv.readthedocs.io/zh_CN/latest)
提示: MMCV 需要 Python 3.7 以上版本。 提示: MMCV 需要 Python 3.7 以上版本。
...@@ -68,23 +68,23 @@ MMCV 有两个版本: ...@@ -68,23 +68,23 @@ MMCV 有两个版本:
```bash ```bash
pip install -U openmim pip install -U openmim
mim install "mmcv>=2.0.0rc1" mim install mmcv
``` ```
如果需要指定 mmcv 的版本,可以使用以下命令 如果需要指定 mmcv 的版本,可以使用以下命令
```bash ```bash
mim install mmcv==2.0.0rc3 mim install mmcv==2.0.0
``` ```
如果发现上述的安装命令没有使用预编译包(以 `.whl` 结尾)而是使用源码包(以 `.tar.gz` 结尾)安装,则有可能是我们没有提供和当前环境的 PyTorch 版本、CUDA 版本相匹配的 mmcv 预编译包,此时,你可以[源码安装 mmcv](https://mmcv.readthedocs.io/zh_CN/2.x/get_started/build.html) 如果发现上述的安装命令没有使用预编译包(以 `.whl` 结尾)而是使用源码包(以 `.tar.gz` 结尾)安装,则有可能是我们没有提供和当前环境的 PyTorch 版本、CUDA 版本相匹配的 mmcv 预编译包,此时,你可以[源码安装 mmcv](https://mmcv.readthedocs.io/zh_CN/latest/get_started/build.html)
<details> <details>
<summary>使用预编译包的安装日志</summary> <summary>使用预编译包的安装日志</summary>
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br /> Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br />
Collecting mmcv<br /> Collecting mmcv<br />
<b>Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0rc3-cp38-cp38-manylinux1_x86_64.whl</b> <b>Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0-cp38-cp38-manylinux1_x86_64.whl</b>
</details> </details>
...@@ -92,12 +92,12 @@ Collecting mmcv<br /> ...@@ -92,12 +92,12 @@ Collecting mmcv<br />
<summary>使用源码包的安装日志</summary> <summary>使用源码包的安装日志</summary>
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br /> Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br />
Collecting mmcv==2.0.0rc3<br /> Collecting mmcv==2.0.0<br />
<b>Downloading mmcv-2.0.0rc3.tar.gz</b> <b>Downloading mmcv-2.0.0.tar.gz</b>
</details> </details>
更多安装方式请参考[安装文档](https://mmcv.readthedocs.io/zh_CN/2.x/get_started/installation.html) 更多安装方式请参考[安装文档](https://mmcv.readthedocs.io/zh_CN/latest/get_started/installation.html)
### 安装 mmcv-lite ### 安装 mmcv-lite
...@@ -105,12 +105,12 @@ Collecting mmcv==2.0.0rc3<br /> ...@@ -105,12 +105,12 @@ Collecting mmcv==2.0.0rc3<br />
```bash ```bash
pip install -U openmim pip install -U openmim
mim install "mmcv-lite>=2.0.0rc1" mim install mmcv-lite
``` ```
## FAQ ## FAQ
如果你遇到了安装问题或者运行时问题,请查看[问题解决页面](https://mmcv.readthedocs.io/zh_CN/2.x/faq.html)是否已有解决方案。如果问题仍然没有解决,欢迎提 [issue](https://github.com/open-mmlab/mmcv/issues) 如果你遇到了安装问题或者运行时问题,请查看[问题解决页面](https://mmcv.readthedocs.io/zh_CN/latest/faq.html)是否已有解决方案。如果问题仍然没有解决,欢迎提 [issue](https://github.com/open-mmlab/mmcv/issues)
## 贡献指南 ## 贡献指南
......
{ {
"Linux": [ "Linux": [
{
"cuda": "11.8",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{
"cuda": "11.7",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "11.7", "cuda": "11.7",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.6", "cuda": "11.6",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.6", "cuda": "11.6",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.5", "cuda": "11.5",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.0", "cuda": "11.0",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -99,51 +134,62 @@ ...@@ -99,51 +134,62 @@
"cuda": "10.2", "cuda": "10.2",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -153,6 +199,7 @@ ...@@ -153,6 +199,7 @@
"cuda": "10.2", "cuda": "10.2",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -162,15 +209,18 @@ ...@@ -162,15 +209,18 @@
"cuda": "10.1", "cuda": "10.1",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.1", "cuda": "10.1",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -180,6 +230,7 @@ ...@@ -180,6 +230,7 @@
"cuda": "10.1", "cuda": "10.1",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -189,6 +240,7 @@ ...@@ -189,6 +240,7 @@
"cuda": "9.2", "cuda": "9.2",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -198,67 +250,88 @@ ...@@ -198,67 +250,88 @@
"cuda": "9.2", "cuda": "9.2",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
] ]
}, },
{
"cuda": "cpu",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -268,6 +341,7 @@ ...@@ -268,6 +341,7 @@
"cuda": "cpu", "cuda": "cpu",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -275,123 +349,164 @@ ...@@ -275,123 +349,164 @@
} }
], ],
"Windows": [ "Windows": [
{
"cuda": "11.8",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{
"cuda": "11.7",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "11.7", "cuda": "11.7",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.6", "cuda": "11.6",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.6", "cuda": "11.6",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.5", "cuda": "11.5",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3" "2.0.0rc3"
] ]
}, },
...@@ -399,6 +514,7 @@ ...@@ -399,6 +514,7 @@
"cuda": "10.2", "cuda": "10.2",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -408,15 +524,18 @@ ...@@ -408,15 +524,18 @@
"cuda": "10.1", "cuda": "10.1",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.1", "cuda": "10.1",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3" "2.0.0rc3"
] ]
}, },
...@@ -424,67 +543,88 @@ ...@@ -424,67 +543,88 @@
"cuda": "10.1", "cuda": "10.1",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
] ]
}, },
{
"cuda": "cpu",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -494,6 +634,7 @@ ...@@ -494,6 +634,7 @@
"cuda": "cpu", "cuda": "cpu",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -501,17 +642,27 @@ ...@@ -501,17 +642,27 @@
} }
], ],
"macOS": [ "macOS": [
{
"cuda": "cpu",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "mps", "cuda": "mps",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3" "2.0.0rc3"
] ]
}, },
...@@ -519,46 +670,57 @@ ...@@ -519,46 +670,57 @@
"cuda": "cpu", "cuda": "cpu",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2"
] ]
...@@ -567,6 +729,7 @@ ...@@ -567,6 +729,7 @@
"cuda": "cpu", "cuda": "cpu",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2"
] ]
......
...@@ -25,7 +25,7 @@ If version information is output, then PyTorch is installed. ...@@ -25,7 +25,7 @@ If version information is output, then PyTorch is installed.
```bash ```bash
pip install -U openmim pip install -U openmim
mim install "mmcv>=2.0.0rc1" mim install mmcv
``` ```
If you find that the above installation command does not use a pre-built package ending with `.whl` but a source package ending with `.tar.gz`, you may not have a pre-build package corresponding to the PyTorch or CUDA or mmcv version, in which case you can [build mmcv from source](build.md). If you find that the above installation command does not use a pre-built package ending with `.whl` but a source package ending with `.tar.gz`, you may not have a pre-build package corresponding to the PyTorch or CUDA or mmcv version, in which case you can [build mmcv from source](build.md).
...@@ -35,7 +35,7 @@ If you find that the above installation command does not use a pre-built package ...@@ -35,7 +35,7 @@ If you find that the above installation command does not use a pre-built package
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br /> Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br />
Collecting mmcv<br /> Collecting mmcv<br />
<b>Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0rc3-cp38-cp38-manylinux1_x86_64.whl</b> <b>Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0-cp38-cp38-manylinux1_x86_64.whl</b>
</details> </details>
...@@ -43,15 +43,15 @@ Collecting mmcv<br /> ...@@ -43,15 +43,15 @@ Collecting mmcv<br />
<summary>Installation log using source packages</summary> <summary>Installation log using source packages</summary>
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br /> Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br />
Collecting mmcv==2.0.0rc3<br /> Collecting mmcv==2.0.0<br />
<b>Downloading mmcv-2.0.0rc3.tar.gz</b> <b>Downloading mmcv-2.0.0.tar.gz</b>
</details> </details>
To install a specific version of mmcv, for example, mmcv version 2.0.0rc3, you can use the following command To install a specific version of mmcv, for example, mmcv version 2.0.0, you can use the following command
```bash ```bash
mim install mmcv==2.0.0rc3 mim install mmcv==2.0.0
``` ```
:::{note} :::{note}
...@@ -62,12 +62,12 @@ you can first install it before installing MMCV to skip the installation of `ope ...@@ -62,12 +62,12 @@ you can first install it before installing MMCV to skip the installation of `ope
Alternatively, if it takes too long to install a dependency library, you can specify the pypi source Alternatively, if it takes too long to install a dependency library, you can specify the pypi source
```bash ```bash
mim install "mmcv>=2.0.0rc3" -i https://pypi.tuna.tsinghua.edu.cn/simple mim install mmcv -i https://pypi.tuna.tsinghua.edu.cn/simple
``` ```
::: :::
You can run [check_installation.py](https://github.com/open-mmlab/mmcv/blob/2.x/.dev_scripts/check_installation.py) to check the installation of mmcv-full after running the installation commands. You can run [check_installation.py](https://github.com/open-mmlab/mmcv/blob/main/.dev_scripts/check_installation.py) to check the installation of mmcv-full after running the installation commands.
#### Install with pip #### Install with pip
...@@ -297,12 +297,12 @@ you can first install it before installing MMCV to skip the installation of `ope ...@@ -297,12 +297,12 @@ you can first install it before installing MMCV to skip the installation of `ope
Alternatively, if it takes too long to install a dependency library, you can specify the pypi source Alternatively, if it takes too long to install a dependency library, you can specify the pypi source
```bash ```bash
mim install "mmcv>=2.0.0rc1" -i https://pypi.tuna.tsinghua.edu.cn/simple mim install mmcv -i https://pypi.tuna.tsinghua.edu.cn/simple
``` ```
::: :::
You can run [check_installation.py](https://github.com/open-mmlab/mmcv/blob/2.x/.dev_scripts/check_installation.py) to check the installation of mmcv after running the installation commands. You can run [check_installation.py](https://github.com/open-mmlab/mmcv/blob/main/.dev_scripts/check_installation.py) to check the installation of mmcv after running the installation commands.
#### Using mmcv with Docker #### Using mmcv with Docker
...@@ -316,13 +316,13 @@ docker build -t mmcv -f docker/release/Dockerfile . ...@@ -316,13 +316,13 @@ docker build -t mmcv -f docker/release/Dockerfile .
Or build with remote repository Or build with remote repository
```bash ```bash
docker build -t mmcv https://github.com/open-mmlab/mmcv.git#2.x:docker/release docker build -t mmcv https://github.com/open-mmlab/mmcv.git#main:docker/release
``` ```
The [Dockerfile](release/Dockerfile) installs latest released version of mmcv-full by default, but you can specify mmcv versions to install expected versions. The [Dockerfile](release/Dockerfile) installs latest released version of mmcv-full by default, but you can specify mmcv versions to install expected versions.
```bash ```bash
docker image build -t mmcv -f docker/release/Dockerfile --build-arg MMCV=2.0.0rc1 . docker image build -t mmcv -f docker/release/Dockerfile --build-arg MMCV=2.0.0 .
``` ```
If you also want to use other versions of PyTorch and CUDA, you can also pass them when building docker images. If you also want to use other versions of PyTorch and CUDA, you can also pass them when building docker images.
...@@ -334,7 +334,7 @@ docker build -t mmcv -f docker/release/Dockerfile \ ...@@ -334,7 +334,7 @@ docker build -t mmcv -f docker/release/Dockerfile \
--build-arg PYTORCH=1.11.0 \ --build-arg PYTORCH=1.11.0 \
--build-arg CUDA=11.3 \ --build-arg CUDA=11.3 \
--build-arg CUDNN=8 \ --build-arg CUDNN=8 \
--build-arg MMCV=2.0.0rc1 . --build-arg MMCV=2.0.0 .
``` ```
More available versions of PyTorch and CUDA can be found at [dockerhub/pytorch](https://hub.docker.com/r/pytorch/pytorch/tags). More available versions of PyTorch and CUDA can be found at [dockerhub/pytorch](https://hub.docker.com/r/pytorch/pytorch/tags).
......
{ {
"Linux": [ "Linux": [
{
"cuda": "11.8",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{
"cuda": "11.7",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "11.7", "cuda": "11.7",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.6", "cuda": "11.6",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.6", "cuda": "11.6",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.5", "cuda": "11.5",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.0", "cuda": "11.0",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -99,51 +134,62 @@ ...@@ -99,51 +134,62 @@
"cuda": "10.2", "cuda": "10.2",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -153,6 +199,7 @@ ...@@ -153,6 +199,7 @@
"cuda": "10.2", "cuda": "10.2",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -162,15 +209,18 @@ ...@@ -162,15 +209,18 @@
"cuda": "10.1", "cuda": "10.1",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.1", "cuda": "10.1",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -180,6 +230,7 @@ ...@@ -180,6 +230,7 @@
"cuda": "10.1", "cuda": "10.1",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -189,6 +240,7 @@ ...@@ -189,6 +240,7 @@
"cuda": "9.2", "cuda": "9.2",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -198,67 +250,88 @@ ...@@ -198,67 +250,88 @@
"cuda": "9.2", "cuda": "9.2",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
] ]
}, },
{
"cuda": "cpu",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -268,6 +341,7 @@ ...@@ -268,6 +341,7 @@
"cuda": "cpu", "cuda": "cpu",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -275,123 +349,164 @@ ...@@ -275,123 +349,164 @@
} }
], ],
"Windows": [ "Windows": [
{
"cuda": "11.8",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{
"cuda": "11.7",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "11.7", "cuda": "11.7",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.6", "cuda": "11.6",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.6", "cuda": "11.6",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.5", "cuda": "11.5",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.3", "cuda": "11.3",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "11.1", "cuda": "11.1",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.2", "cuda": "10.2",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3" "2.0.0rc3"
] ]
}, },
...@@ -399,6 +514,7 @@ ...@@ -399,6 +514,7 @@
"cuda": "10.2", "cuda": "10.2",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -408,15 +524,18 @@ ...@@ -408,15 +524,18 @@
"cuda": "10.1", "cuda": "10.1",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "10.1", "cuda": "10.1",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3" "2.0.0rc3"
] ]
}, },
...@@ -424,67 +543,88 @@ ...@@ -424,67 +543,88 @@
"cuda": "10.1", "cuda": "10.1",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
] ]
}, },
{
"cuda": "cpu",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -494,6 +634,7 @@ ...@@ -494,6 +634,7 @@
"cuda": "cpu", "cuda": "cpu",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2", "2.0.0rc2",
"2.0.0rc1" "2.0.0rc1"
...@@ -501,17 +642,27 @@ ...@@ -501,17 +642,27 @@
} }
], ],
"macOS": [ "macOS": [
{
"cuda": "cpu",
"torch": "2.0.x",
"mmcv": [
"2.0.0"
]
},
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc3" "2.0.0rc4",
"2.0.0rc3",
"2.0.0"
] ]
}, },
{ {
"cuda": "mps", "cuda": "mps",
"torch": "1.13.x", "torch": "1.13.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3" "2.0.0rc3"
] ]
}, },
...@@ -519,46 +670,57 @@ ...@@ -519,46 +670,57 @@
"cuda": "cpu", "cuda": "cpu",
"torch": "1.12.x", "torch": "1.12.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.11.x", "torch": "1.11.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.10.x", "torch": "1.10.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.9.x", "torch": "1.9.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.8.x", "torch": "1.8.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2",
"2.0.0"
] ]
}, },
{ {
"cuda": "cpu", "cuda": "cpu",
"torch": "1.7.x", "torch": "1.7.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2"
] ]
...@@ -567,6 +729,7 @@ ...@@ -567,6 +729,7 @@
"cuda": "cpu", "cuda": "cpu",
"torch": "1.6.x", "torch": "1.6.x",
"mmcv": [ "mmcv": [
"2.0.0rc4",
"2.0.0rc3", "2.0.0rc3",
"2.0.0rc2" "2.0.0rc2"
] ]
......
...@@ -25,7 +25,7 @@ python -c 'import torch;print(torch.__version__)' ...@@ -25,7 +25,7 @@ python -c 'import torch;print(torch.__version__)'
```bash ```bash
pip install -U openmim pip install -U openmim
mim install "mmcv>=2.0.0rc1" mim install mmcv
``` ```
如果发现上述的安装命令没有使用预编译包(以 `.whl` 结尾)而是使用源码包(以 `.tar.gz` 结尾)安装,则有可能是我们没有提供和当前环境的 PyTorch 版本、CUDA 版本相匹配的 mmcv 预编译包,此时,你可以[源码安装 mmcv](build.md) 如果发现上述的安装命令没有使用预编译包(以 `.whl` 结尾)而是使用源码包(以 `.tar.gz` 结尾)安装,则有可能是我们没有提供和当前环境的 PyTorch 版本、CUDA 版本相匹配的 mmcv 预编译包,此时,你可以[源码安装 mmcv](build.md)
...@@ -35,7 +35,7 @@ mim install "mmcv>=2.0.0rc1" ...@@ -35,7 +35,7 @@ mim install "mmcv>=2.0.0rc1"
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br /> Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br />
Collecting mmcv<br /> Collecting mmcv<br />
<b>Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0rc3-cp38-cp38-manylinux1_x86_64.whl</b> <b>Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0-cp38-cp38-manylinux1_x86_64.whl</b>
</details> </details>
...@@ -43,15 +43,15 @@ Collecting mmcv<br /> ...@@ -43,15 +43,15 @@ Collecting mmcv<br />
<summary>使用源码包的安装日志</summary> <summary>使用源码包的安装日志</summary>
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br /> Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html<br />
Collecting mmcv==2.0.0rc3<br /> Collecting mmcv==2.0.0<br />
<b>Downloading mmcv-2.0.0rc3.tar.gz</b> <b>Downloading mmcv-2.0.0.tar.gz</b>
</details> </details>
如需安装指定版本的 mmcv,例如安装 2.0.0rc3 版本的 mmcv,可使用以下命令 如需安装指定版本的 mmcv,例如安装 2.0.0 版本的 mmcv,可使用以下命令
```bash ```bash
mim install mmcv==2.0.0rc3 mim install mmcv==2.0.0
``` ```
:::{note} :::{note}
...@@ -65,7 +65,7 @@ mim install "mmcv>=2.0.0rc1" -i https://pypi.tuna.tsinghua.edu.cn/simple ...@@ -65,7 +65,7 @@ mim install "mmcv>=2.0.0rc1" -i https://pypi.tuna.tsinghua.edu.cn/simple
::: :::
安装完成后可以运行 [check_installation.py](https://github.com/open-mmlab/mmcv/blob/2.x/.dev_scripts/check_installation.py) 脚本检查 mmcv 是否安装成功。 安装完成后可以运行 [check_installation.py](https://github.com/open-mmlab/mmcv/blob/main/.dev_scripts/check_installation.py) 脚本检查 mmcv 是否安装成功。
#### 使用 pip 安装 #### 使用 pip 安装
...@@ -318,12 +318,12 @@ PyTorch 版本是 1.8.1,你可以放心选择 1.8.x。 ...@@ -318,12 +318,12 @@ PyTorch 版本是 1.8.1,你可以放心选择 1.8.x。
另外,如果安装依赖库的时间过长,可以指定 pypi 源 另外,如果安装依赖库的时间过长,可以指定 pypi 源
```bash ```bash
pip install "mmcv>=2.0.0rc1" -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html -i https://pypi.tuna.tsinghua.edu.cn/simple pip install mmcv -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html -i https://pypi.tuna.tsinghua.edu.cn/simple
``` ```
::: :::
安装完成后可以运行 [check_installation.py](https://github.com/open-mmlab/mmcv/blob/2.x/.dev_scripts/check_installation.py) 脚本检查 mmcv 是否安装成功。 安装完成后可以运行 [check_installation.py](https://github.com/open-mmlab/mmcv/blob/main/.dev_scripts/check_installation.py) 脚本检查 mmcv 是否安装成功。
#### 使用 docker 镜像 #### 使用 docker 镜像
...@@ -337,13 +337,13 @@ docker build -t mmcv -f docker/release/Dockerfile . ...@@ -337,13 +337,13 @@ docker build -t mmcv -f docker/release/Dockerfile .
也可以直接使用下面的命令构建镜像 也可以直接使用下面的命令构建镜像
```bash ```bash
docker build -t mmcv https://github.com/open-mmlab/mmcv.git#2.x:docker/release docker build -t mmcv https://github.com/open-mmlab/mmcv.git#main:docker/release
``` ```
[Dockerfile](release/Dockerfile) 默认安装最新的 mmcv,如果你想要指定版本,可以使用下面的命令 [Dockerfile](release/Dockerfile) 默认安装最新的 mmcv,如果你想要指定版本,可以使用下面的命令
```bash ```bash
docker image build -t mmcv -f docker/release/Dockerfile --build-arg MMCV=2.0.0rc1 . docker image build -t mmcv -f docker/release/Dockerfile --build-arg MMCV=2.0.0 .
``` ```
如果你想要使用其他版本的 PyTorch 和 CUDA,你可以在构建镜像时指定它们的版本。 如果你想要使用其他版本的 PyTorch 和 CUDA,你可以在构建镜像时指定它们的版本。
...@@ -355,7 +355,7 @@ docker build -t mmcv -f docker/release/Dockerfile \ ...@@ -355,7 +355,7 @@ docker build -t mmcv -f docker/release/Dockerfile \
--build-arg PYTORCH=1.11.0 \ --build-arg PYTORCH=1.11.0 \
--build-arg CUDA=11.3 \ --build-arg CUDA=11.3 \
--build-arg CUDNN=8 \ --build-arg CUDNN=8 \
--build-arg MMCV=2.0.0rc1 . --build-arg MMCV=2.0.0 .
``` ```
更多 PyTorch 和 CUDA 镜像可以点击 [dockerhub/pytorch](https://hub.docker.com/r/pytorch/pytorch/tags) 查看。 更多 PyTorch 和 CUDA 镜像可以点击 [dockerhub/pytorch](https://hub.docker.com/r/pytorch/pytorch/tags) 查看。
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment