From 6e154057c90c0c4544c9f708503e8d4a51dc0564 Mon Sep 17 00:00:00 2001 From: tsai Date: Fri, 18 Mar 2022 11:04:36 +0800 Subject: [PATCH] update rhd config --- docs/requirements.txt | 4 ++-- tools/generate_pip_version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 57151e8412b..fb90fb36311 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,5 +3,5 @@ recommonmark==0.6.0 furo==2021.4.11b34 # above are dev dependencies --pre ---find-links https://staging.oneflow.info/branch/master/cpu -oneflow +--find-links https://release.oneflow.info +oneflow==0.7.0+cpu diff --git a/tools/generate_pip_version.py b/tools/generate_pip_version.py index b01af9868ab..be208c00ff4 100644 --- a/tools/generate_pip_version.py +++ b/tools/generate_pip_version.py @@ -13,7 +13,7 @@ local_label = "" version = f"0.7.0" -os.environ["ONEFLOW_RELEASE_VERSION"] = "1" +os.environ["ONEFLOW_RELEASE_VERSION"] = version # set version if release of nightly assert ( os.getenv("ONEFLOW_RELEASE_VERSION") != ""