Skip to content

Commit

Permalink
fix #36801 (#41607)
Browse files Browse the repository at this point in the history
Summary:
unittest actually did stdout testname like (test_accumulate_grad (__main__.TestAutograd) ... ) first befor test start running. export PYTHONUNBUFFERED=1 or python -u could record this msg. ezyang

Pull Request resolved: pytorch/pytorch#41607

Reviewed By: izdeby

Differential Revision: D22673930

Pulled By: ezyang

fbshipit-source-id: 18512b6f5f80485c2b0d812f2ebdecc1fdc4b4ec
  • Loading branch information
nolifenameless authored and facebook-github-bot committed Jul 23, 2020
1 parent 272fb36 commit c0e3839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ jobs:
no_output_timeout: "90m"
command: |
set -e
export PYTHONUNBUFFERED=1
# See Note [Special build images]
output_image=${DOCKER_IMAGE}-${CIRCLE_SHA1}
if [[ ${BUILD_ENVIRONMENT} == *"xla"* ]]; then
Expand Down
1 change: 1 addition & 0 deletions .circleci/verbatim-sources/job-specs/pytorch-job-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
no_output_timeout: "90m"
command: |
set -e
export PYTHONUNBUFFERED=1
# See Note [Special build images]
output_image=${DOCKER_IMAGE}-${CIRCLE_SHA1}
if [[ ${BUILD_ENVIRONMENT} == *"xla"* ]]; then
Expand Down

0 comments on commit c0e3839

Please sign in to comment.