Skip to content
Snippets Groups Projects
Commit 982806c1 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files
parent 1644c3bd
No related branches found
No related tags found
No related merge requests found
Pipeline #55729 failed
Showing
with 84 additions and 21 deletions
......@@ -40,6 +40,11 @@ jobs:
export CI=azure
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then
export IS_PR_BUILD="True"
else
export IS_PR_BUILD="False"
fi
.scripts/run_docker_build.sh
displayName: Run docker build
env:
......
......@@ -32,6 +32,11 @@ jobs:
export OSX_FORCE_SDK_DOWNLOAD="1"
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then
export IS_PR_BUILD="True"
else
export IS_PR_BUILD="False"
fi
./.scripts/run_osx_build.sh
displayName: Run OSX build
env:
......
......@@ -17,7 +17,7 @@ docker_image:
giflib:
- '5.2'
grpc_cpp:
- '1.39'
- '1.40'
icu:
- '68'
jpeg:
......@@ -27,7 +27,7 @@ libcurl:
libpng:
- '1.6'
libprotobuf:
- '3.16'
- '3.18'
openssl:
- 1.1.1
pin_run_as_build:
......
......@@ -17,7 +17,7 @@ docker_image:
giflib:
- '5.2'
grpc_cpp:
- '1.39'
- '1.40'
icu:
- '68'
jpeg:
......@@ -27,7 +27,7 @@ libcurl:
libpng:
- '1.6'
libprotobuf:
- '3.16'
- '3.18'
openssl:
- 1.1.1
pin_run_as_build:
......
......@@ -17,7 +17,7 @@ docker_image:
giflib:
- '5.2'
grpc_cpp:
- '1.39'
- '1.40'
icu:
- '68'
jpeg:
......@@ -27,7 +27,7 @@ libcurl:
libpng:
- '1.6'
libprotobuf:
- '3.16'
- '3.18'
openssl:
- 1.1.1
pin_run_as_build:
......
__migrator:
build_number: 1
kind: version
migration_number: 1
grpc_cpp:
- '1.40'
migrator_ts: 1631027694.11367
__migrator:
build_number: 1
kind: version
migration_number: 1
libprotobuf:
- '3.18'
migrator_ts: 1631764220.7977521
......@@ -17,7 +17,7 @@ cxx_compiler_version:
giflib:
- '5.2'
grpc_cpp:
- '1.39'
- '1.40'
icu:
- '68'
jpeg:
......@@ -27,7 +27,7 @@ libcurl:
libpng:
- '1.6'
libprotobuf:
- '3.16'
- '3.18'
macos_machine:
- x86_64-apple-darwin13.4.0
openssl:
......
......@@ -17,7 +17,7 @@ cxx_compiler_version:
giflib:
- '5.2'
grpc_cpp:
- '1.39'
- '1.40'
icu:
- '68'
jpeg:
......@@ -27,7 +27,7 @@ libcurl:
libpng:
- '1.6'
libprotobuf:
- '3.16'
- '3.18'
macos_machine:
- x86_64-apple-darwin13.4.0
openssl:
......
......@@ -17,7 +17,7 @@ cxx_compiler_version:
giflib:
- '5.2'
grpc_cpp:
- '1.39'
- '1.40'
icu:
- '68'
jpeg:
......@@ -27,7 +27,7 @@ libcurl:
libpng:
- '1.6'
libprotobuf:
- '3.16'
- '3.18'
macos_machine:
- x86_64-apple-darwin13.4.0
openssl:
......
......@@ -15,7 +15,7 @@ cxx_compiler_version:
giflib:
- '5.2'
grpc_cpp:
- '1.39'
- '1.40'
icu:
- '68'
jpeg:
......@@ -25,7 +25,7 @@ libcurl:
libpng:
- '1.6'
libprotobuf:
- '3.16'
- '3.18'
macos_machine:
- arm64-apple-darwin20.0.0
openssl:
......
......@@ -15,7 +15,7 @@ cxx_compiler_version:
giflib:
- '5.2'
grpc_cpp:
- '1.39'
- '1.40'
icu:
- '68'
jpeg:
......@@ -25,7 +25,7 @@ libcurl:
libpng:
- '1.6'
libprotobuf:
- '3.16'
- '3.18'
macos_machine:
- arm64-apple-darwin20.0.0
openssl:
......
* @farhantejani @ghego @gilbertfrancois @h-vetinari @hajapy @jschueller @njzjz @waitingkuo @xhochy @hmaarrfk
* @farhantejani @ghego @gilbertfrancois @h-vetinari @hajapy @hmaarrfk @jschueller @njzjz @waitingkuo @xhochy
\ No newline at end of file
......@@ -25,7 +25,8 @@ conda-build:
root-dir: ${FEEDSTOCK_ROOT}/build_artifacts
CONDARC
BUILD_CMD=build
GET_BOA=boa
BUILD_CMD=mambabuild
conda install --yes --quiet "conda-forge-ci-setup=3" conda-build pip ${GET_BOA:-} -c conda-forge
......@@ -62,7 +63,7 @@ else
( startgroup "Uploading packages" ) 2> /dev/null
if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then
if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then
upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
fi
......
......@@ -75,12 +75,14 @@ fi
( startgroup "Start Docker" ) 2> /dev/null
export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}"
export IS_PR_BUILD="${IS_PR_BUILD:-False}"
docker run ${DOCKER_RUN_ARGS} \
-v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \
-v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \
-e CONFIG \
-e HOST_USER_ID \
-e UPLOAD_PACKAGES \
-e IS_PR_BUILD \
-e GIT_BRANCH \
-e UPLOAD_ON_BRANCH \
-e CI \
......
......@@ -201,6 +201,7 @@ Feedstock Maintainers
* [@gilbertfrancois](https://github.com/gilbertfrancois/)
* [@h-vetinari](https://github.com/h-vetinari/)
* [@hajapy](https://github.com/hajapy/)
* [@hmaarrfk](https://github.com/hmaarrfk/)
* [@jschueller](https://github.com/jschueller/)
* [@njzjz](https://github.com/njzjz/)
* [@waitingkuo](https://github.com/waitingkuo/)
......
......@@ -13,6 +13,7 @@ import platform
def setup_environment(ns):
os.environ["CONFIG"] = ns.config
os.environ["UPLOAD_PACKAGES"] = "False"
os.environ["IS_PR_BUILD"] = "True"
if ns.debug:
os.environ["BUILD_WITH_CONDA_DEBUG"] = "1"
if ns.output_id:
......
......@@ -14,13 +14,14 @@ source:
# requires setting GRPCIO_VERSION in build script
- patches/0004-loosen-requirements.patch
- patches/0005-remove_deprecated_use_of_error_message.patch
- patches/0006-protobuf_3_18_comaptibility.patch
- patches/51450-Fix_protobuf_errors_when_using_system_protobuf.patch
- url: https://github.com/tensorflow/estimator/archive/refs/tags/v{{ version }}.tar.gz
sha256: 947705c60c50da0b4a8ceec1bc058aaf6bf567a7efdcd50d5173ebf6bafcf30f
folder: tensorflow-estimator
build:
number: 1
number: 2
skip: true # [win]
requirements:
......@@ -190,7 +191,7 @@ outputs:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- bazel
- bazel 3
- bazel >=4.2.1 # [osx and arm64]
host:
- python
......@@ -324,3 +325,4 @@ extra:
- njzjz
- waitingkuo
- xhochy
- hmaarrfk
From 62ce49b7f775289558f66a6b3f67395333016e6e Mon Sep 17 00:00:00 2001
From: "A. Unique TensorFlower" <gardener@tensorflow.org>
Date: Wed, 14 Jul 2021 19:11:43 -0700
Subject: [PATCH] Clean up usages of deprecated
CodedInputStream::SetTotalBytesLimit() method
PiperOrigin-RevId: 384833682
Change-Id: If82466312db207de143cacef2727927c7b6a7880
---
tensorflow/core/distributed_runtime/tensor_coding.cc | 2 --
1 file changed, 2 deletions(-)
diff --git a/tensorflow/core/distributed_runtime/tensor_coding.cc b/tensorflow/core/distributed_runtime/tensor_coding.cc
index 78b56b6d363b4..dc08ee8b76e0f 100644
--- a/tensorflow/core/distributed_runtime/tensor_coding.cc
+++ b/tensorflow/core/distributed_runtime/tensor_coding.cc
@@ -82,7 +82,6 @@ void TensorResponse::InitPartial(const RecvTensorResponse& response,
Status TensorResponse::ParseFrom(Source* source) {
if (!on_host_) {
protobuf::io::CodedInputStream input(source->contents());
- input.SetTotalBytesLimit(INT_MAX, INT_MAX); // Unlimited
// Pre-parse into local storage, then delegate to device.
if (!meta_.ParseFromCodedStream(&input) || !input.ConsumedEntireMessage()) {
@@ -218,7 +217,6 @@ bool TensorResponse::ParseTensorSubmessage(
bool TensorResponse::ParseFast(Source* source) {
protobuf::io::CodedInputStream input(source->contents());
- input.SetTotalBytesLimit(INT_MAX, INT_MAX); // Unlimited
while (true) {
auto p = input.ReadTagWithCutoff(127);
int tag = GetTagFieldNumber(p.first);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment