Skip to content

Commit b6dedcb

Browse files
committedJun 20, 2019
Merge pull request tensorflow#25673 from Ryan-Qiyu-Jiang:env_capture_script_more_system_info_update
PiperOrigin-RevId: 254264543
2 parents aaa4159 + 8593e24 commit b6dedcb

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
@@ -153,6 +153,21 @@ LD_DEBUG=libs ${python_bin_path} -c "import tensorflow" 2>>${OUTPUT_FILE} > /tm
153153
find /usr/local -type f -name 'libcudart*' 2>/dev/null | grep cuda | grep -v "\\.cache" >> ${OUTPUT_FILE}
154154
find /usr/local -type f -name 'libudnn*' 2>/dev/null | grep cuda | grep -v "\\.cache" >> ${OUTPUT_FILE}
155155

156+
{
157+
echo
158+
echo '== tensorflow installed from info =================='
159+
pip show tensorflow
160+
161+
echo
162+
echo '== python version =============================================='
163+
echo '(major, minor, micro, releaselevel, serial)'
164+
python -c 'import sys; print(sys.version_info[:])'
165+
166+
echo
167+
echo '== bazel version ==============================================='
168+
bazel version
169+
} >> ${OUTPUT_FILE}
170+
156171
# Remove any words with google.
157172
mv $OUTPUT_FILE old-$OUTPUT_FILE
158173
grep -v -i google old-${OUTPUT_FILE} > $OUTPUT_FILE

0 commit comments

Comments
 (0)