Skip to content

Commit 8593e24

Browse files
added python version, bazel version, and tf installed info to env_capture_script
1 parent 753cb67 commit 8593e24

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tools/tf_env_collect.sh

+15
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,21 @@ DEBUG_LD=libs ${python_bin_path} -c "import tensorflow" 2>>${OUTPUT_FILE} > /tm
111111
find /usr/local -type f -name 'libcudart*' 2>/dev/null | grep cuda | grep -v "\\.cache" >> ${OUTPUT_FILE}
112112
find /usr/local -type f -name 'libudnn*' 2>/dev/null | grep cuda | grep -v "\\.cache" >> ${OUTPUT_FILE}
113113

114+
{
115+
echo
116+
echo '== tensorflow installed from info =================='
117+
pip show tensorflow
118+
119+
echo
120+
echo '== python version =============================================='
121+
echo '(major, minor, micro, releaselevel, serial)'
122+
python -c 'import sys; print(sys.version_info[:])'
123+
124+
echo
125+
echo '== bazel version ==============================================='
126+
bazel version
127+
} >> ${OUTPUT_FILE}
128+
114129
# Remove any words with google.
115130
mv $OUTPUT_FILE old-$OUTPUT_FILE
116131
grep -v -i google old-${OUTPUT_FILE} > $OUTPUT_FILE

0 commit comments

Comments
 (0)