Use the same jaxlib package name for nightlies. The __version__ will still contain the dev version (with datetime string in it).

PiperOrigin-RevId: 466534455
This commit is contained in:
Yash Katariya 2022-08-09 18:53:07 -07:00 committed by jax authors
parent 169345311a
commit 8a1b4785de

View File

@ -29,10 +29,6 @@ cudnn_version = os.environ.get("JAX_CUDNN_VERSION")
if cuda_version and cudnn_version:
__version__ += f"+cuda{cuda_version.replace('.', '')}-cudnn{cudnn_version.replace('.', '')}"
nightly = os.environ.get('JAXLIB_NIGHTLY')
if nightly:
project_name = 'jaxlib-nightly'
setup(
name=project_name,
version=__version__,