Skip to content

Commit 0b54a3e

Browse files
authored
setup-binary-builds: conda --no-capture-output (#7420)
This allows for the logs to be streamed live as they run. This is especially important when conda gets killed due to OOM and we lose all logs. Test plan: manually set the hash in meta-pytorch/torchcomms#710
1 parent 417d17c commit 0b54a3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/setup-binary-builds/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ runs:
112112
--prefix "${CONDA_ENV}" \
113113
"python=3.9"
114114
CONDA_ENV="${CONDA_ENV}"
115-
CONDA_RUN="conda run -p ${CONDA_ENV}"
115+
CONDA_RUN="conda run --no-capture-output -p ${CONDA_ENV}"
116116
${CONDA_RUN} python -m pip install ${GITHUB_WORKSPACE}/test-infra/tools/pkg-helpers
117117
BUILD_ENV_FILE="${RUNNER_TEMP}/build_env_${GITHUB_RUN_ID}"
118118
${CONDA_RUN} python -m pytorch_pkg_helpers > "${BUILD_ENV_FILE}"
@@ -155,4 +155,4 @@ runs:
155155
${CONDA_EXTRA_PARAM}
156156
157157
echo "CONDA_ENV=${CONDA_ENV}" >> "${GITHUB_ENV}"
158-
echo "CONDA_RUN=conda run -p ${CONDA_ENV}" >> "${GITHUB_ENV}"
158+
echo "CONDA_RUN=conda run --no-capture-output -p ${CONDA_ENV}" >> "${GITHUB_ENV}"

0 commit comments

Comments
 (0)