Skip to content

TensorLayerX 0.5.8 Release #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ More resources can be found [here](https://github.com/tensorlayer)

## Installation

### TensorLayerX corresponds to the back-end version
| TensorLayerX | TensorFlow | MindSpore | PaddlePaddle|PyTorch|
| :-----:| :----: | :----: |:-----:|:----:|
| v0.5.8 | v2.4.0 | v1.8.1 | v2.2.0 | v1.10.0 |
| v0.5.7 | v2.0.0 | v1.6.1 | v2.0.2 | v1.10.0 |
### Via docker

Docker is an open source application container engine. In the [TensorLayerX Docker Repository](https://hub.docker.com/repository/docker/tensorlayer/tensorlayerx),
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ License

TensorLayerX is released under the Apache 2.0 license.

.. |TENSORLAYER-LOGO| image:: https://git.openi.org.cn/TensorLayer/tensorlayer3.0/src/branch/master/img/tl_transparent_logo.png
.. |TENSORLAYER-LOGO| image:: https://git.openi.org.cn/hanjr/tensorlayerx-image/raw/branch/master/tlx-LOGO--02.jpg
:target: https://tensorlayerx.readthedocs.io/en/latest/
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

MAJOR = 0
MINOR = 5
PATCH = 7
PATCH = 8
PRE_RELEASE = ''
# Use the following formatting: (major, minor, patch, prerelease)
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE)
Expand Down
13 changes: 12 additions & 1 deletion tensorlayerx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# import backend
from .backend import *

import warnings
import os

from tensorlayerx.package_info import (
Expand Down Expand Up @@ -33,3 +33,14 @@
# global vars
global_flag = {}
global_dict = {}

backend_v = {
'tensorflow': '2.4.0',
'mindspore': '1.8.1',
'paddle': '2.2.0',
'torch': '1.10.0',
}

if BACKEND_VERSION != backend_v[BACKEND]:
warnings.warn("The version of the backend you have installed does not match the specified backend version "
"and may not work, please install version {} {}.".format(BACKEND, backend_v[BACKEND]))
2 changes: 1 addition & 1 deletion tensorlayerx/package_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAJOR = 0
MINOR = 5
PATCH = 7
PATCH = 8
PRE_RELEASE = ''
# Use the following formatting: (major, minor, patch, prerelease)
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE)
Expand Down