From 1bc43dfb8948814c75c141c13c72f3b6670e8e5d Mon Sep 17 00:00:00 2001 From: Nishidha Panpaliya Date: Mon, 7 Aug 2023 04:38:23 -0400 Subject: [PATCH] Reduce resources to be used --- config/build-config.yaml | 3 +-- recipe/build-pip-package.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/build-config.yaml b/config/build-config.yaml index 038435c..5ca569e 100644 --- a/config/build-config.yaml +++ b/config/build-config.yaml @@ -5,8 +5,7 @@ recipes: - name : tensorflow-base path : recipe resources: - memory: 200Gi #[ppc64le] - memory: 10Gi #[not ppc64le] + memory: 10Gi - name : tensorflow-meta path : meta_recipe diff --git a/recipe/build-pip-package.sh b/recipe/build-pip-package.sh index 243864b..1da2f17 100644 --- a/recipe/build-pip-package.sh +++ b/recipe/build-pip-package.sh @@ -63,7 +63,7 @@ fi bazel --bazelrc=$SRC_DIR/tensorflow/tensorflow.bazelrc build \ --local_cpu_resources=HOST_CPUS*0.50 \ --local_ram_resources=HOST_RAM*0.50 \ - --jobs=HOST_CPUS*0.5 \ + --jobs=32 \ --config=opt \ --config=numa \ --curses=no \