Merge pull request #25673 from Ryan-Qiyu-Jiang:env_capture_script_more_system_info_update

PiperOrigin-RevId: 254264543
This commit is contained in:
TensorFlower Gardener 2019-06-20 14:07:21 -07:00
commit b6dedcb917
1 changed files with 15 additions and 0 deletions

View File

@ -153,6 +153,21 @@ LD_DEBUG=libs ${python_bin_path} -c "import tensorflow" 2>>${OUTPUT_FILE} > /tm
find /usr/local -type f -name 'libcudart*' 2>/dev/null | grep cuda | grep -v "\\.cache" >> ${OUTPUT_FILE} find /usr/local -type f -name 'libcudart*' 2>/dev/null | grep cuda | grep -v "\\.cache" >> ${OUTPUT_FILE}
find /usr/local -type f -name 'libudnn*' 2>/dev/null | grep cuda | grep -v "\\.cache" >> ${OUTPUT_FILE} find /usr/local -type f -name 'libudnn*' 2>/dev/null | grep cuda | grep -v "\\.cache" >> ${OUTPUT_FILE}
{
echo
echo '== tensorflow installed from info =================='
pip show tensorflow
echo
echo '== python version =============================================='
echo '(major, minor, micro, releaselevel, serial)'
python -c 'import sys; print(sys.version_info[:])'
echo
echo '== bazel version ==============================================='
bazel version
} >> ${OUTPUT_FILE}
# Remove any words with google. # Remove any words with google.
mv $OUTPUT_FILE old-$OUTPUT_FILE mv $OUTPUT_FILE old-$OUTPUT_FILE
grep -v -i google old-${OUTPUT_FILE} > $OUTPUT_FILE grep -v -i google old-${OUTPUT_FILE} > $OUTPUT_FILE