Skip to content

Commit

Permalink
bump version 0.1.9 (#3498)
Browse files Browse the repository at this point in the history
* bump version 0.1.9

* update readme

* update script

* add cuda 11 oneflow

* add cpu install

* add cuda 11 script

* add cpu only instruction

Co-authored-by: tsai <caishenghang@1f-dev.kbaeegfb1x0ubnoznzequyxzve.bx.internal.cloudapp.net>
Former-commit-id: 297e636
  • Loading branch information
jackalcooper and tsai authored Aug 20, 2020
1 parent dad8a77 commit ec8df10
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@
- CUDA Toolkit Linux x86_64 Driver
| OneFlow |CUDA Driver Version|
|---|---|
| oneflow_cu110 | >= 450.36.06 |
| oneflow_cu102 | >= 440.33 |
| oneflow_cu101 | >= 418.39 |
| oneflow_cu100 | >= 410.48 |
| oneflow_cu92 | >= 396.26 |
| oneflow_cu91 | >= 390.46 |
| oneflow_cu90 | >= 384.81 |
| oneflow_cpu | N/A |

- CUDA runtime is statically linked into OneFlow. OneFlow will work on a minimum supported driver, and any driver beyond. For more information, please refer to [CUDA compatibility documentation](https://docs.nvidia.com/deploy/cuda-compatibility/index.html).

Expand All @@ -49,6 +51,12 @@
python3 -m pip install --find-links https://oneflow-inc.github.io/nightly oneflow_cu102 --user
```

- To install latest release of CPU-only OneFlow:

```
python3 -m pip install --find-links https://oneflow-inc.github.io/nightly oneflow_cpu --user
```

- To install OneFlow with legacy CUDA support, run one of:
```
python3 -m pip install --find-links https://oneflow-inc.github.io/nightly oneflow_cu101 --user
Expand All @@ -64,8 +72,6 @@
```
For more information on this, please refer to [pypi 镜像使用帮助](https://mirror.tuna.tsinghua.edu.cn/help/pypi/)

- CPU-only OneFlow is not available for now.

- Releases are built with G++/GCC 4.8.5, cuDNN 7 and MKL 2020.0-088.

### Build from Source
Expand Down
14 changes: 13 additions & 1 deletion docker/package/manylinux/make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@ function release() {
set -ex
docker_tag=oneflow:rel-manylinux2014-cuda-$1
package_name=oneflow_cu`echo $1 | tr -d .`
docker build --build-arg from=nvidia/cuda:$1-cudnn7-devel-centos7 -f docker/package/manylinux/Dockerfile -t $docker_tag .
if [ "$1" == "11.0" ]; then
cudnn_version=8
else
cudnn_version=7
fi
docker build --build-arg from=nvidia/cuda:$1-cudnn${cudnn_version}-devel-centos7 -f docker/package/manylinux/Dockerfile -t $docker_tag .
docker run --rm -it -v `pwd`:/oneflow-src -w /oneflow-src $docker_tag \
/oneflow-src/docker/package/manylinux/build_wheel.sh --cache-dir /oneflow-src/manylinux2014-build-cache-cuda-$1 \
--house-dir /oneflow-src/wheelhouse \
--package-name $package_name
}

docker run --rm -it -v `pwd`:/oneflow-src -w /oneflow-src oneflow:rel-manylinux2014-cuda-10.2 \
/oneflow-src/docker/package/manylinux/build_wheel.sh --cache-dir /oneflow-src/manylinux2014-build-cache-cpu \
--house-dir /oneflow-src/wheelhouse \
-DBUILD_CUDA=OFF \
--package-name oneflow_cpu

release 11.0
release 10.2
release 10.1
release 10.0
Expand Down
2 changes: 1 addition & 1 deletion oneflow/python/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
See the License for the specific language governing permissions and
limitations under the License.
"""
__version__ = "0.1.8"
__version__ = "0.1.9"

0 comments on commit ec8df10

Please sign in to comment.