Unverified Commit 3651412b authored by moto's avatar moto Committed by GitHub
Browse files

Print CPU info before running unit test (#1218)

So that when a test fails in flaky manner, we can look into the difference.
parent 5de3a56d
......@@ -5,7 +5,15 @@ set -e
eval "$(./conda/bin/conda shell.bash hook)"
conda activate ./env
case "$(uname -s)" in
Darwin*) os=MacOSX;;
*) os=Linux
esac
python -m torch.utils.collect_env
if [ "${os}" == Linux ]; then
cat /proc/cpuinfo
fi
export TORCHAUDIO_TEST_FAIL_IF_NO_EXTENSION=1
export PATH="${PWD}/third_party/install/bin/:${PATH}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment