From f528aaff49cc4547f48f99be0919670dfcf0c8e4 Mon Sep 17 00:00:00 2001 From: oyzh Date: Fri, 10 Jan 2025 20:47:59 -0800 Subject: [PATCH] Adjust the build config to an existing value defined in .bazelrc --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 58123a3cddd..f48c37a84c7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -250,7 +250,7 @@ There are two ways to run TensorFlow unit tests. bazel by doing as follows: ```bash - export flags="--config=opt -k" + export flags="--config=linux -k" ``` If the tests are to be run on the GPU: @@ -259,7 +259,7 @@ There are two ways to run TensorFlow unit tests. flag. ```bash - export flags="--config=opt --config=cuda -k" + export flags="--config=linux --config=cuda -k" ``` * For TensorFlow versions prior v.2.18.0: Add CUDA paths to @@ -267,7 +267,7 @@ There are two ways to run TensorFlow unit tests. ```bash export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH" - export flags="--config=opt --config=cuda -k" + export flags="--config=linux --config=cuda -k" ``` For example, to run all tests under tensorflow/python, do: