diff options
author | Benoit Steiner <bsteiner@google.com> | 2017-05-10 21:12:21 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-05-11 11:02:28 -0700 |
commit | ee112cff56081fb9d0b74c987a8935acc360b05c (patch) | |
tree | 6026d8b42ccc09d9c0d1b2d091916cfcb4f5a057 /tools | |
parent | 27c89207d2f31fe4b4b42c789b96d62cde4e2133 (diff) |
Merge changes from github.
PiperOrigin-RevId: 155709893
Diffstat (limited to 'tools')
-rwxr-xr-x[-rw-r--r--] | tools/tf_env_collect.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/tf_env_collect.sh b/tools/tf_env_collect.sh index 71b17f4b7b..abeebeadea 100644..100755 --- a/tools/tf_env_collect.sh +++ b/tools/tf_env_collect.sh @@ -42,7 +42,7 @@ fi echo >> $OUTPUT_FILE echo '== compiler =====================================================' >> $OUTPUT_FILE -c++ --version &>> $OUTPUT_FILE +c++ --version 2>&1 >> $OUTPUT_FILE echo >> $OUTPUT_FILE echo '== uname -a =====================================================' >> $OUTPUT_FILE @@ -50,7 +50,7 @@ uname -a >> $OUTPUT_FILE echo >> $OUTPUT_FILE echo '== check pips ===================================================' >> $OUTPUT_FILE -pip list 2>&1 | grep "proto\|numpy\|tensorflow" &>> $OUTPUT_FILE +pip list 2>&1 | grep "proto\|numpy\|tensorflow" >> $OUTPUT_FILE echo >> $OUTPUT_FILE @@ -67,7 +67,7 @@ print("tf.COMPILER_VERSION = %s" % tf.GIT_VERSION) with tf.Session() as sess: print("Sanity check: %r" % sess.run(tf.constant([1,2,3])[:1])) EOF -python /tmp/check_tf.py &>> ${OUTPUT_FILE} +python /tmp/check_tf.py 2>&1 >> ${OUTPUT_FILE} DEBUG_LD=libs python -c "import tensorflow" 2>>${OUTPUT_FILE} > /tmp/loadedlibs grep libcudnn.so /tmp/loadedlibs >> $OUTPUT_FILE @@ -88,7 +88,7 @@ fi echo >> $OUTPUT_FILE >> $OUTPUT_FILE echo '== nvidia-smi ===================================================' >> $OUTPUT_FILE -nvidia-smi &>> $OUTPUT_FILE +nvidia-smi 2>&1 >> $OUTPUT_FILE echo >> $OUTPUT_FILE |