forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2170 from ROCmSoftwarePlatform/develop-upstream-s…
…ync-230731 Develop upstream sync 230731
- Loading branch information
Showing
999 changed files
with
39,990 additions
and
13,268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cpu.bazelrc) | ||
TFCI_BAZEL_COMMON_ARGS=(--config rbe) | ||
TFCI_BUILD_PIP_PACKAGE_ARGS=(--cpu) | ||
TFCI_COPYBARA_ENABLE=0 | ||
TFCI_DOCKER_ENABLE=1 | ||
TFCI_DOCKER_GPU_ARGS=() | ||
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.10 | ||
TFCI_DOCKER_PULL_ENABLE=1 | ||
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow | ||
TFCI_INDEX_HTML_ENABLE=1 | ||
TFCI_LIB_SUFFIX="-cpu-linux-x86_64" | ||
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE= | ||
TFCI_NVIDIA_SMI_ENABLE= | ||
TFCI_UPLOAD_LIB_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_URI= | ||
TFCI_UPLOAD_LIB_URI= | ||
TFCI_UPLOAD_WHL_GCS_ENABLE= | ||
TFCI_UPLOAD_WHL_GCS_URI= | ||
TFCI_UPLOAD_WHL_PYPI_ARGS= | ||
TFCI_UPLOAD_WHL_PYPI_ENABLE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cpu.bazelrc) | ||
TFCI_BAZEL_COMMON_ARGS=(--config rbe) | ||
TFCI_BUILD_PIP_PACKAGE_ARGS=(--cpu) | ||
TFCI_COPYBARA_ENABLE=0 | ||
TFCI_DOCKER_ENABLE=1 | ||
TFCI_DOCKER_GPU_ARGS=() | ||
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.11 | ||
TFCI_DOCKER_PULL_ENABLE=1 | ||
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow | ||
TFCI_INDEX_HTML_ENABLE=1 | ||
TFCI_LIB_SUFFIX="-cpu-linux-x86_64" | ||
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE= | ||
TFCI_NVIDIA_SMI_ENABLE= | ||
TFCI_UPLOAD_LIB_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_URI= | ||
TFCI_UPLOAD_LIB_URI= | ||
TFCI_UPLOAD_WHL_GCS_ENABLE= | ||
TFCI_UPLOAD_WHL_GCS_URI= | ||
TFCI_UPLOAD_WHL_PYPI_ARGS= | ||
TFCI_UPLOAD_WHL_PYPI_ENABLE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cpu.bazelrc) | ||
TFCI_BAZEL_COMMON_ARGS=(--config rbe) | ||
TFCI_BUILD_PIP_PACKAGE_ARGS=(--cpu) | ||
TFCI_COPYBARA_ENABLE=0 | ||
TFCI_DOCKER_ENABLE=1 | ||
TFCI_DOCKER_GPU_ARGS=() | ||
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.9 | ||
TFCI_DOCKER_PULL_ENABLE=1 | ||
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow | ||
TFCI_INDEX_HTML_ENABLE=1 | ||
TFCI_LIB_SUFFIX="-cpu-linux-x86_64" | ||
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE= | ||
TFCI_NVIDIA_SMI_ENABLE= | ||
TFCI_UPLOAD_LIB_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_URI= | ||
TFCI_UPLOAD_LIB_URI= | ||
TFCI_UPLOAD_WHL_GCS_ENABLE= | ||
TFCI_UPLOAD_WHL_GCS_URI= | ||
TFCI_UPLOAD_WHL_PYPI_ARGS= | ||
TFCI_UPLOAD_WHL_PYPI_ENABLE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cuda.bazelrc) | ||
TFCI_BAZEL_COMMON_ARGS=(--config rbe) | ||
TFCI_BUILD_PIP_PACKAGE_ARGS=() | ||
TFCI_COPYBARA_ENABLE=0 | ||
TFCI_DOCKER_ENABLE=1 | ||
TFCI_DOCKER_GPU_ARGS=(--gpus all) | ||
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.10 | ||
TFCI_DOCKER_PULL_ENABLE=1 | ||
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow | ||
TFCI_INDEX_HTML_ENABLE=1 | ||
TFCI_LIB_SUFFIX="-gpu-linux-x86_64" | ||
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE= | ||
TFCI_NVIDIA_SMI_ENABLE=1 | ||
TFCI_UPLOAD_LIB_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_URI= | ||
TFCI_UPLOAD_LIB_URI= | ||
TFCI_UPLOAD_WHL_GCS_ENABLE= | ||
TFCI_UPLOAD_WHL_GCS_URI= | ||
TFCI_UPLOAD_WHL_PYPI_ARGS= | ||
TFCI_UPLOAD_WHL_PYPI_ENABLE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cuda.bazelrc) | ||
TFCI_BAZEL_COMMON_ARGS=(--config rbe) | ||
TFCI_BUILD_PIP_PACKAGE_ARGS=() | ||
TFCI_COPYBARA_ENABLE=0 | ||
TFCI_DOCKER_ENABLE=1 | ||
TFCI_DOCKER_GPU_ARGS=(--gpus all) | ||
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.11 | ||
TFCI_DOCKER_PULL_ENABLE=1 | ||
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow | ||
TFCI_INDEX_HTML_ENABLE=1 | ||
TFCI_LIB_SUFFIX="-gpu-linux-x86_64" | ||
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE= | ||
TFCI_NVIDIA_SMI_ENABLE=1 | ||
TFCI_UPLOAD_LIB_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_URI= | ||
TFCI_UPLOAD_LIB_URI= | ||
TFCI_UPLOAD_WHL_GCS_ENABLE= | ||
TFCI_UPLOAD_WHL_GCS_URI= | ||
TFCI_UPLOAD_WHL_PYPI_ARGS= | ||
TFCI_UPLOAD_WHL_PYPI_ENABLE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cuda.bazelrc) | ||
TFCI_BAZEL_COMMON_ARGS=(--config rbe) | ||
TFCI_BUILD_PIP_PACKAGE_ARGS=() | ||
TFCI_COPYBARA_ENABLE=0 | ||
TFCI_DOCKER_ENABLE=1 | ||
TFCI_DOCKER_GPU_ARGS=(--gpus all) | ||
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.9 | ||
TFCI_DOCKER_PULL_ENABLE=1 | ||
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow | ||
TFCI_INDEX_HTML_ENABLE=1 | ||
TFCI_LIB_SUFFIX="-gpu-linux-x86_64" | ||
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE= | ||
TFCI_NVIDIA_SMI_ENABLE=1 | ||
TFCI_UPLOAD_LIB_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_URI= | ||
TFCI_UPLOAD_LIB_URI= | ||
TFCI_UPLOAD_WHL_GCS_ENABLE= | ||
TFCI_UPLOAD_WHL_GCS_URI= | ||
TFCI_UPLOAD_WHL_PYPI_ARGS= | ||
TFCI_UPLOAD_WHL_PYPI_ENABLE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cpu.bazelrc) | ||
TFCI_BAZEL_COMMON_ARGS=(--config sigbuild_remote_cache_push) | ||
TFCI_BUILD_PIP_PACKAGE_ARGS=(--cpu --nightly_flag) | ||
TFCI_COPYBARA_ENABLE=0 | ||
TFCI_DOCKER_ENABLE=1 | ||
TFCI_DOCKER_GPU_ARGS=() | ||
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.10 | ||
TFCI_DOCKER_PULL_ENABLE=1 | ||
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow | ||
TFCI_INDEX_HTML_ENABLE=1 | ||
TFCI_LIB_SUFFIX="-cpu-linux-x86_64" | ||
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1 | ||
TFCI_NVIDIA_SMI_ENABLE= | ||
TFCI_UPLOAD_LIB_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_URI="gs://libtensorflow-nightly/latest" | ||
TFCI_UPLOAD_LIB_URI="gs://libtensorflow-nightly/$(date -I)" | ||
TFCI_UPLOAD_WHL_GCS_ENABLE= | ||
TFCI_UPLOAD_WHL_GCS_URI= | ||
TFCI_UPLOAD_WHL_PYPI_ARGS= | ||
TFCI_UPLOAD_WHL_PYPI_ENABLE= |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow" | ||
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cuda.bazelrc) | ||
TFCI_BAZEL_COMMON_ARGS=(--config sigbuild_remote_cache_push) | ||
TFCI_BUILD_PIP_PACKAGE_ARGS=(--nightly_flag) | ||
TFCI_COPYBARA_ENABLE=0 | ||
TFCI_DOCKER_ENABLE=1 | ||
TFCI_DOCKER_GPU_ARGS=(--gpus all) | ||
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.10 | ||
TFCI_DOCKER_PULL_ENABLE=1 | ||
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow | ||
TFCI_INDEX_HTML_ENABLE=1 | ||
TFCI_LIB_SUFFIX="-gpu-linux-x86_64" | ||
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1 | ||
TFCI_NVIDIA_SMI_ENABLE=1 | ||
TFCI_UPLOAD_LIB_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_ENABLE= | ||
TFCI_UPLOAD_LIB_LATEST_URI="gs://libtensorflow-nightly/latest" | ||
TFCI_UPLOAD_LIB_URI="gs://libtensorflow-nightly/$(date -I)" | ||
TFCI_UPLOAD_WHL_GCS_ENABLE= | ||
TFCI_UPLOAD_WHL_GCS_URI= | ||
TFCI_UPLOAD_WHL_PYPI_ARGS=( --config-file "$KOKORO_KEYSTORE_DIR/73361_tensorflow_pypirc_using_global_api_token" --repository testpypi ) | ||
TFCI_UPLOAD_WHL_PYPI_ENABLE= |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2023 The TensorFlow Authors. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# ============================================================================== | ||
|
||
# script to run pip-compile for keras, tensorboard, estimator deps. | ||
# if there is a change in requirements.in then all lock files will be updated | ||
# accordingly. | ||
|
||
mv BUILD.bazel BUILD | ||
|
||
SUPPORTED_VERSIONS=("3_9" "3_10" "3_11") | ||
|
||
for VERSION in "${SUPPORTED_VERSIONS[@]}" | ||
do | ||
cp ../../../requirements_lock_"$VERSION".txt "requirements_lock_"$VERSION".txt" | ||
bazel run --experimental_convenience_symlinks=ignore //:requirements_"$VERSION"_release.update | ||
sed -i '/^#/d' requirements_lock_"$VERSION".txt | ||
mv "requirements_lock_"$VERSION".txt" ../../../requirements_lock_"$VERSION".txt | ||
done | ||
|
||
mv BUILD BUILD.bazel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.