Skip to content

Constraints symmetric#68240

Closed
nonconvexopt wants to merge 14 commits intopytorch:masterfrom
nonconvexopt:constraints_symmetric
Closed

Constraints symmetric#68240
nonconvexopt wants to merge 14 commits intopytorch:masterfrom
nonconvexopt:constraints_symmetric

Conversation

@nonconvexopt
Copy link
Copy Markdown
Contributor

@nonconvexopt nonconvexopt commented Nov 12, 2021

Opened PR again.
Implemented Symmetric matrices 'torch.distributions.constraints' for implementing

@pytorch-probot
Copy link
Copy Markdown

pytorch-probot Bot commented Nov 12, 2021

CI Flow Status

⚛️ CI Flow

Ruleset - Version: v1
Ruleset - File: https://github.com/nonconvexopt/pytorch/blob/dfdfa3a54ec2114129a77fbffe5685b3552deeb6/.github/generated-ciflow-ruleset.json
PR ciflow labels: ciflow/default

Workflows Labels (bold enabled) Status
Triggered Workflows
linux-bionic-py3.6-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/noarch, ciflow/xla ✅ triggered
linux-vulkan-bionic-py3.6-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/vulkan ✅ triggered
linux-xenial-cuda11.3-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3-clang5-mobile-build ciflow/all, ciflow/default, ciflow/linux, ciflow/mobile ✅ triggered
linux-xenial-py3-clang5-mobile-custom-build-static ciflow/all, ciflow/default, ciflow/linux, ciflow/mobile ✅ triggered
linux-xenial-py3.6-clang7-asan ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/sanitizers ✅ triggered
linux-xenial-py3.6-clang7-onnx ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/onnx ✅ triggered
linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3.6-gcc7 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3.6-gcc7-bazel-test ciflow/all, ciflow/bazel, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single ciflow/all, ciflow/android, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single-full-jit ciflow/all, ciflow/android, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
win-vs2019-cpu-py3 ciflow/all, ciflow/cpu, ciflow/default, ciflow/win ✅ triggered
win-vs2019-cuda11.3-py3 ciflow/all, ciflow/cuda, ciflow/default, ciflow/win ✅ triggered
Skipped Workflows
caffe2-linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux 🚫 skipped
docker-builds ciflow/all 🚫 skipped
ios-12-5-1-arm64 ciflow/all, ciflow/ios, ciflow/macos 🚫 skipped
ios-12-5-1-arm64-coreml ciflow/all, ciflow/ios, ciflow/macos 🚫 skipped
ios-12-5-1-arm64-custom-ops ciflow/all, ciflow/ios, ciflow/macos 🚫 skipped
ios-12-5-1-arm64-full-jit ciflow/all, ciflow/ios, ciflow/macos 🚫 skipped
ios-12-5-1-arm64-metal ciflow/all, ciflow/ios, ciflow/macos 🚫 skipped
ios-12-5-1-x86-64 ciflow/all, ciflow/ios, ciflow/macos 🚫 skipped
ios-12-5-1-x86-64-coreml ciflow/all, ciflow/ios, ciflow/macos 🚫 skipped
ios-12-5-1-x86-64-full-jit ciflow/all, ciflow/ios, ciflow/macos 🚫 skipped
libtorch-linux-xenial-cuda10.2-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux 🚫 skipped
libtorch-linux-xenial-cuda11.3-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux 🚫 skipped
linux-bionic-cuda10.2-py3.9-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow 🚫 skipped
macos-10-15-py3-arm64 ciflow/all, ciflow/macos 🚫 skipped
macos-10-15-py3-lite-interpreter-x86-64 ciflow/all, ciflow/macos 🚫 skipped
macos-10-15-py3-x86-64 ciflow/all, ciflow/macos 🚫 skipped
parallelnative-linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux 🚫 skipped
periodic-libtorch-linux-xenial-cuda11.1-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled, ciflow/slow, ciflow/slow-gradcheck 🚫 skipped
periodic-linux-xenial-cuda11.1-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-win-vs2019-cuda11.1-py3 ciflow/all, ciflow/cuda, ciflow/scheduled, ciflow/win 🚫 skipped

You can add a comment to the PR and tag @pytorchbot with the following commands:
# ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun

# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow

For more information, please take a look at the CI Flow Wiki.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Nov 12, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As of commit dfdfa3a (more details on the Dr. CI page):


  • 20/20 failures possibly* introduced in this PR
    • 1/20 non-scanned failure(s)

🕵️ 19 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See GitHub Actions build pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single-full-jit / build-and-test (1/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:49:49.2913752Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:49:49.2908166Z �[36;1mfi�[0m
2021-11-19T13:49:49.2908606Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:49:49.2909294Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:49:49.2909938Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:49:49.2910633Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:49:49.2911192Z �[36;1m  exit 1�[0m
2021-11-19T13:49:49.2911446Z �[36;1mfi�[0m
2021-11-19T13:49:49.2911883Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:49:49.2912519Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:49:49.2913099Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:49:49.2913752Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:49:49.2914454Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:49:49.2914885Z �[36;1m  exit 1�[0m
2021-11-19T13:49:49.2915136Z �[36;1mfi�[0m
2021-11-19T13:49:49.2915485Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:49:49.2925375Z shell: /usr/bin/bash -e {0}
2021-11-19T13:49:49.2925683Z env:
2021-11-19T13:49:49.2927170Z   BUILD_ENVIRONMENT: pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single-full-jit
2021-11-19T13:49:49.2929559Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3-clang5-android-ndk-r19c
2021-11-19T13:49:49.2930778Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:49:49.2931657Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single / build-and-test (2/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:48:34.9886091Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:48:34.9880297Z �[36;1mfi�[0m
2021-11-19T13:48:34.9880752Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:48:34.9881469Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:48:34.9882137Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:48:34.9882857Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:48:34.9883423Z �[36;1m  exit 1�[0m
2021-11-19T13:48:34.9883696Z �[36;1mfi�[0m
2021-11-19T13:48:34.9884145Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:48:34.9884809Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:48:34.9885418Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:48:34.9886091Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:48:34.9886832Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:48:34.9887283Z �[36;1m  exit 1�[0m
2021-11-19T13:48:34.9887543Z �[36;1mfi�[0m
2021-11-19T13:48:34.9887904Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:48:34.9898216Z shell: /usr/bin/bash -e {0}
2021-11-19T13:48:34.9898602Z env:
2021-11-19T13:48:34.9899874Z   BUILD_ENVIRONMENT: pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single
2021-11-19T13:48:34.9901870Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3-clang5-android-ndk-r19c
2021-11-19T13:48:34.9903098Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:48:34.9903985Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-xenial-py3-clang5-mobile-build / build (3/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:49:44.3152224Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:49:44.3146555Z �[36;1mfi�[0m
2021-11-19T13:49:44.3146980Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:49:44.3147667Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:49:44.3148314Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:49:44.3149083Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:49:44.3149635Z �[36;1m  exit 1�[0m
2021-11-19T13:49:44.3149904Z �[36;1mfi�[0m
2021-11-19T13:49:44.3150336Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:49:44.3150976Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:49:44.3151566Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:49:44.3152224Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:49:44.3152927Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:49:44.3153363Z �[36;1m  exit 1�[0m
2021-11-19T13:49:44.3153615Z �[36;1mfi�[0m
2021-11-19T13:49:44.3153966Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:49:44.3163406Z shell: /usr/bin/bash -e {0}
2021-11-19T13:49:44.3163716Z env:
2021-11-19T13:49:44.3164277Z   BUILD_ENVIRONMENT: linux-xenial-py3-clang5-mobile-build
2021-11-19T13:49:44.3165393Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3-clang5-asan
2021-11-19T13:49:44.3166457Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:49:44.3167346Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-xenial-cuda11.3-py3.6-gcc7 / build (4/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:47:15.4932664Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:47:15.4926758Z �[36;1mfi�[0m
2021-11-19T13:47:15.4927213Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:47:15.4927937Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:47:15.4928617Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:47:15.4929354Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:47:15.4929945Z �[36;1m  exit 1�[0m
2021-11-19T13:47:15.4930220Z �[36;1mfi�[0m
2021-11-19T13:47:15.4930680Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:47:15.4931356Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:47:15.4931976Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:47:15.4932664Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:47:15.4933395Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:47:15.4933853Z �[36;1m  exit 1�[0m
2021-11-19T13:47:15.4934137Z �[36;1mfi�[0m
2021-11-19T13:47:15.4934498Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:47:15.4944903Z shell: /usr/bin/bash -e {0}
2021-11-19T13:47:15.4945219Z env:
2021-11-19T13:47:15.4945767Z   BUILD_ENVIRONMENT: linux-xenial-cuda11.3-py3.6-gcc7
2021-11-19T13:47:15.4946988Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda11.3-cudnn8-py3-gcc7
2021-11-19T13:47:15.4948224Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:47:15.4949165Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-xenial-py3-clang5-mobile-custom-build-static / build (5/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:50:26.0846081Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:50:26.0840209Z �[36;1mfi�[0m
2021-11-19T13:50:26.0840657Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:50:26.0841372Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:50:26.0842051Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:50:26.0842785Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:50:26.0843376Z �[36;1m  exit 1�[0m
2021-11-19T13:50:26.0843644Z �[36;1mfi�[0m
2021-11-19T13:50:26.0844103Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:50:26.0844778Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:50:26.0845393Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:50:26.0846081Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:50:26.0846812Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:50:26.0847262Z �[36;1m  exit 1�[0m
2021-11-19T13:50:26.0847538Z �[36;1mfi�[0m
2021-11-19T13:50:26.0847896Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:50:26.0857726Z shell: /usr/bin/bash -e {0}
2021-11-19T13:50:26.0858041Z env:
2021-11-19T13:50:26.0858850Z   BUILD_ENVIRONMENT: linux-xenial-py3-clang5-mobile-custom-build-static
2021-11-19T13:50:26.0860373Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3-clang5-android-ndk-r19c
2021-11-19T13:50:26.0861640Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:50:26.0862560Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-xenial-py3.6-gcc7-bazel-test / build-and-test (6/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:49:34.3290259Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:49:34.3284459Z �[36;1mfi�[0m
2021-11-19T13:49:34.3284889Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:49:34.3285717Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:49:34.3286385Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:49:34.3287088Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:49:34.3287641Z �[36;1m  exit 1�[0m
2021-11-19T13:49:34.3287912Z �[36;1mfi�[0m
2021-11-19T13:49:34.3288343Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:49:34.3289013Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:49:34.3289610Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:49:34.3290259Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:49:34.3290974Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:49:34.3291411Z �[36;1m  exit 1�[0m
2021-11-19T13:49:34.3291665Z �[36;1mfi�[0m
2021-11-19T13:49:34.3292025Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:49:34.3301739Z shell: /usr/bin/bash -e {0}
2021-11-19T13:49:34.3302046Z env:
2021-11-19T13:49:34.3302582Z   BUILD_ENVIRONMENT: linux-xenial-py3.6-gcc7-bazel-test
2021-11-19T13:49:34.3303816Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-bionic-cuda10.2-cudnn7-py3.9-gcc7
2021-11-19T13:49:34.3305025Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:49:34.3305913Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build win-vs2019-cuda11.3-py3 / build (7/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T14:08:57.3013149Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T14:08:55.9148233Z -- Configuring done
2021-11-19T14:08:56.9493987Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T14:08:56.9494540Z   Cannot find source file:
2021-11-19T14:08:56.9494761Z 
2021-11-19T14:08:56.9495250Z     C:/actions-runner/_work/pytorch/pytorch/torch/csrc/autograd/profiler_kineto.cpp
2021-11-19T14:08:56.9495631Z 
2021-11-19T14:08:56.9496015Z   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
2021-11-19T14:08:56.9496493Z   .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
2021-11-19T14:08:56.9496735Z 
2021-11-19T14:08:56.9496894Z 
2021-11-19T14:08:57.3013149Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T14:08:57.3013716Z   No SOURCES given to target: torch_cpu
2021-11-19T14:08:57.3013969Z 
2021-11-19T14:08:57.3014110Z 
2021-11-19T14:08:57.3041368Z CMake Generate step failed.  Build files cannot be regenerated correctly.
2021-11-19T14:08:57.3465787Z -- Building version 1.11.0a0+git04cc5cf
2021-11-19T14:08:57.3469719Z cmake -GNinja -DBUILD_ENVIRONMENT=win-vs2019-cuda11.3-py3 -DBUILD_PYTHON=True -DBUILD_SPLIT_CUDA=ON -DBUILD_TEST=True -DBUILD_TYPE=release -DBUILD_WHEEL=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_COMPILER=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.3/bin/nvcc.exe -DCMAKE_CUDA_COMPILER_LAUNCHER=C:/actions-runner/_work/pytorch/pytorch/build/win_tmp/bin/randomtemp.exe;C:/actions-runner/_work/pytorch/pytorch/build/win_tmp\bin\sccache.exe -DCMAKE_GENERATOR=Ninja -DCMAKE_INCLUDE_PATH=C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -DCMAKE_INSTALL_PREFIX=C:\actions-runner\_work\pytorch\pytorch\torch -DCMAKE_PREFIX_PATH=C:\Jenkins\Miniconda3\Lib\site-packages -DCMAKE_VERBOSE_MAKEFILE=1 -DCUDA_NVCC_EXECUTABLE=C:/actions-runner/_work/pytorch/pytorch/build/win_tmp/bin/nvcc.bat -DCUDNN_LIBRARY=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\lib\x64 -DNUMPY_INCLUDE_DIR=C:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -DPYTHON_EXECUTABLE=C:\Jenkins\Miniconda3\python.exe -DPYTHON_INCLUDE_DIR=C:\Jenkins\Miniconda3\Include -DPYTHON_LIBRARY=C:\Jenkins\Miniconda3/libs/python38.lib -DTORCH_BUILD_VERSION=1.11.0a0+git04cc5cf -DUSE_CUDA=1 -DUSE_NUMPY=True C:\actions-runner\_work\pytorch\pytorch
2021-11-19T14:08:57.3795027Z 
2021-11-19T14:08:57.3795779Z (base) C:\actions-runner\_work\pytorch\pytorch>sccache --show-stats  1>stats.txt 
2021-11-19T14:08:57.3960531Z 
2021-11-19T14:08:57.3961490Z (base) C:\actions-runner\_work\pytorch\pytorch>python -m tools.stats.upload_sccache_stats stats.txt 

See GitHub Actions build Lint / clang-tidy (8/19)

Step: "Generate build files" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:46:03.3385534Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T13:46:03.3381945Z 
2021-11-19T13:46:03.3382450Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T13:46:03.3382913Z   Cannot find source file:
2021-11-19T13:46:03.3383229Z 
2021-11-19T13:46:03.3383657Z     /__w/pytorch/pytorch/torch/csrc/autograd/profiler_kineto.cpp
2021-11-19T13:46:03.3383993Z 
2021-11-19T13:46:03.3384373Z   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
2021-11-19T13:46:03.3384780Z   .hpp .hxx .in .txx
2021-11-19T13:46:03.3384972Z 
2021-11-19T13:46:03.3385137Z 
2021-11-19T13:46:03.3385534Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T13:46:03.3386014Z   No SOURCES given to target: torch_cpu
2021-11-19T13:46:03.3386275Z 
2021-11-19T13:46:03.3386439Z 
2021-11-19T13:46:03.3386898Z CMake Generate step failed.  Build files cannot be regenerated correctly.
2021-11-19T13:46:03.3387570Z Command exited with non-zero status 1
2021-11-19T13:46:03.3388132Z 20.59user 4.64system 0:24.76elapsed 101%CPU (0avgtext+0avgdata 144912maxresident)k
2021-11-19T13:46:03.3388774Z 0inputs+123000outputs (0major+1802558minor)pagefaults 0swaps
2021-11-19T13:46:03.3389537Z Failed to run ['time', '/usr/bin/python3', 'setup.py', '--cmake-only', 'build']
2021-11-19T13:46:03.3394261Z ##[error]Process completed with exit code 1.
2021-11-19T13:46:03.3505217Z Post job cleanup.

See GitHub Actions build win-vs2019-cpu-py3 / build (9/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T14:08:01.4825382Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T14:08:00.2073748Z -- Configuring done
2021-11-19T14:08:01.2317578Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T14:08:01.2318122Z   Cannot find source file:
2021-11-19T14:08:01.2318349Z 
2021-11-19T14:08:01.2318823Z     C:/actions-runner/_work/pytorch/pytorch/torch/csrc/autograd/profiler_kineto.cpp
2021-11-19T14:08:01.2319237Z 
2021-11-19T14:08:01.2319617Z   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
2021-11-19T14:08:01.2320087Z   .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
2021-11-19T14:08:01.2320352Z 
2021-11-19T14:08:01.2320511Z 
2021-11-19T14:08:01.4825382Z CMake Error at caffe2/CMakeLists.txt:794 (add_library):
2021-11-19T14:08:01.4825976Z   No SOURCES given to target: torch_cpu
2021-11-19T14:08:01.4826236Z 
2021-11-19T14:08:01.4826397Z 
2021-11-19T14:08:01.4827670Z CMake Generate step failed.  Build files cannot be regenerated correctly.
2021-11-19T14:08:01.5176257Z -- Building version 1.11.0a0+git04cc5cf
2021-11-19T14:08:01.5178894Z cmake -GNinja -DBUILD_ENVIRONMENT=win-vs2019-cpu-py3 -DBUILD_PYTHON=True -DBUILD_TEST=True -DBUILD_TYPE=release -DBUILD_WHEEL=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR=Ninja -DCMAKE_INCLUDE_PATH=C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -DCMAKE_INSTALL_PREFIX=C:\actions-runner\_work\pytorch\pytorch\torch -DCMAKE_PREFIX_PATH=C:\Jenkins\Miniconda3\Lib\site-packages -DCMAKE_VERBOSE_MAKEFILE=1 -DNUMPY_INCLUDE_DIR=C:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -DPYTHON_EXECUTABLE=C:\Jenkins\Miniconda3\python.exe -DPYTHON_INCLUDE_DIR=C:\Jenkins\Miniconda3\Include -DPYTHON_LIBRARY=C:\Jenkins\Miniconda3/libs/python38.lib -DTORCH_BUILD_VERSION=1.11.0a0+git04cc5cf -DUSE_CUDA=0 -DUSE_NUMPY=True C:\actions-runner\_work\pytorch\pytorch
2021-11-19T14:08:01.5611980Z 
2021-11-19T14:08:01.5612632Z (base) C:\actions-runner\_work\pytorch\pytorch>sccache --show-stats  1>stats.txt 
2021-11-19T14:08:01.6249327Z 
2021-11-19T14:08:01.6250139Z (base) C:\actions-runner\_work\pytorch\pytorch>python -m tools.stats.upload_sccache_stats stats.txt 

See GitHub Actions build linux-xenial-py3.6-gcc5.4 / build (10/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:49:04.1289887Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:49:04.1283736Z �[36;1mfi�[0m
2021-11-19T13:49:04.1284205Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:49:04.1284955Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:49:04.1285649Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:49:04.1286489Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:49:04.1287098Z �[36;1m  exit 1�[0m
2021-11-19T13:49:04.1287374Z �[36;1mfi�[0m
2021-11-19T13:49:04.1287845Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:49:04.1288543Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:49:04.1289179Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:49:04.1289887Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:49:04.1290653Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:49:04.1291126Z �[36;1m  exit 1�[0m
2021-11-19T13:49:04.1291416Z �[36;1mfi�[0m
2021-11-19T13:49:04.1291791Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:49:04.1302548Z shell: /usr/bin/bash -e {0}
2021-11-19T13:49:04.1302870Z env:
2021-11-19T13:49:04.1303359Z   BUILD_ENVIRONMENT: linux-xenial-py3.6-gcc5.4
2021-11-19T13:49:04.1304808Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3.6-gcc5.4
2021-11-19T13:49:04.1305894Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:49:04.1306847Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-xenial-py3.6-clang7-asan / build (11/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:49:40.9691867Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:49:40.9686096Z �[36;1mfi�[0m
2021-11-19T13:49:40.9686529Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:49:40.9687351Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:49:40.9688002Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:49:40.9688769Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:49:40.9689325Z �[36;1m  exit 1�[0m
2021-11-19T13:49:40.9689590Z �[36;1mfi�[0m
2021-11-19T13:49:40.9690008Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:49:40.9690656Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:49:40.9691234Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:49:40.9691867Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:49:40.9692570Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:49:40.9692985Z �[36;1m  exit 1�[0m
2021-11-19T13:49:40.9693250Z �[36;1mfi�[0m
2021-11-19T13:49:40.9693602Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:49:40.9703457Z shell: /usr/bin/bash -e {0}
2021-11-19T13:49:40.9703771Z env:
2021-11-19T13:49:40.9704252Z   BUILD_ENVIRONMENT: linux-xenial-py3.6-clang7-asan
2021-11-19T13:49:40.9705252Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3-clang7-asan
2021-11-19T13:49:40.9706261Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:49:40.9707129Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-xenial-py3.6-clang7-onnx / build (12/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:47:40.5962974Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:47:40.5956530Z �[36;1mfi�[0m
2021-11-19T13:47:40.5957021Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:47:40.5957799Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:47:40.5958602Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:47:40.5959388Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:47:40.5960029Z �[36;1m  exit 1�[0m
2021-11-19T13:47:40.5960334Z �[36;1mfi�[0m
2021-11-19T13:47:40.5960837Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:47:40.5961585Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:47:40.5962234Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:47:40.5962974Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:47:40.5963758Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:47:40.5964260Z �[36;1m  exit 1�[0m
2021-11-19T13:47:40.5964581Z �[36;1mfi�[0m
2021-11-19T13:47:40.5964985Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:47:40.5975017Z shell: /usr/bin/bash -e {0}
2021-11-19T13:47:40.5975367Z env:
2021-11-19T13:47:40.5975942Z   BUILD_ENVIRONMENT: linux-xenial-py3.6-clang7-onnx
2021-11-19T13:47:40.5977082Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3-clang7-onnx
2021-11-19T13:47:40.5978265Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:47:40.5979374Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-bionic-py3.6-clang9 / build (13/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:50:10.1767545Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:50:10.1761915Z �[36;1mfi�[0m
2021-11-19T13:50:10.1762339Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:50:10.1763018Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:50:10.1763729Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:50:10.1764423Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:50:10.1764965Z �[36;1m  exit 1�[0m
2021-11-19T13:50:10.1765234Z �[36;1mfi�[0m
2021-11-19T13:50:10.1765667Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:50:10.1766305Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:50:10.1766894Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:50:10.1767545Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:50:10.1768244Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:50:10.1768675Z �[36;1m  exit 1�[0m
2021-11-19T13:50:10.1768928Z �[36;1mfi�[0m
2021-11-19T13:50:10.1769287Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:50:10.1779318Z shell: /usr/bin/bash -e {0}
2021-11-19T13:50:10.1779622Z env:
2021-11-19T13:50:10.1780060Z   BUILD_ENVIRONMENT: linux-bionic-py3.6-clang9
2021-11-19T13:50:10.1780995Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-bionic-py3.6-clang9
2021-11-19T13:50:10.1781995Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:50:10.1782869Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-xenial-py3.6-gcc7 / build (14/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:51:10.7173869Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:51:10.7168260Z �[36;1mfi�[0m
2021-11-19T13:51:10.7168700Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:51:10.7169362Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:51:10.7170009Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:51:10.7170683Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:51:10.7171321Z �[36;1m  exit 1�[0m
2021-11-19T13:51:10.7171590Z �[36;1mfi�[0m
2021-11-19T13:51:10.7172011Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:51:10.7172657Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:51:10.7173223Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:51:10.7173869Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:51:10.7174570Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:51:10.7174988Z �[36;1m  exit 1�[0m
2021-11-19T13:51:10.7175257Z �[36;1mfi�[0m
2021-11-19T13:51:10.7175598Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:51:10.7185246Z shell: /usr/bin/bash -e {0}
2021-11-19T13:51:10.7185547Z env:
2021-11-19T13:51:10.7185977Z   BUILD_ENVIRONMENT: linux-xenial-py3.6-gcc7
2021-11-19T13:51:10.7186857Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3.6-gcc7
2021-11-19T13:51:10.7187797Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:51:10.7188653Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See GitHub Actions build linux-vulkan-bionic-py3.6-clang9 / build (15/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-11-19T13:51:13.9725322Z �[36;1m echo "ERR...t available for the merge-base of your branch"�[0m
2021-11-19T13:51:13.9719421Z �[36;1mfi�[0m
2021-11-19T13:51:13.9719853Z �[36;1m# Covers the case where a previous tag doesn't exist for the tree�[0m
2021-11-19T13:51:13.9720541Z �[36;1m# this is only really applicable on trees that don't have `.circleci/docker` at its merge base, i.e. nightly�[0m
2021-11-19T13:51:13.9721402Z �[36;1mif ! git rev-parse "$MERGE_BASE:.circleci/docker"; then�[0m
2021-11-19T13:51:13.9722180Z �[36;1m  echo "Directory '.circleci/docker' not found in commit $MERGE_BASE, you should probably rebase onto a more recent commit"�[0m
2021-11-19T13:51:13.9722726Z �[36;1m  exit 1�[0m
2021-11-19T13:51:13.9722990Z �[36;1mfi�[0m
2021-11-19T13:51:13.9723421Z �[36;1mPREVIOUS_DOCKER_TAG=$(git rev-parse "$MERGE_BASE:.circleci/docker")�[0m
2021-11-19T13:51:13.9724060Z �[36;1m# If no image exists but the hash is the same as the previous hash then we should error out here�[0m
2021-11-19T13:51:13.9724656Z �[36;1mif [[ "${PREVIOUS_DOCKER_TAG}" = "${DOCKER_TAG}" ]]; then�[0m
2021-11-19T13:51:13.9725322Z �[36;1m  echo "ERROR: Something has gone wrong and the previous image isn't available for the merge-base of your branch"�[0m
2021-11-19T13:51:13.9726030Z �[36;1m  echo "       contact the PyTorch team to restore the original images"�[0m
2021-11-19T13:51:13.9726465Z �[36;1m  exit 1�[0m
2021-11-19T13:51:13.9726724Z �[36;1mfi�[0m
2021-11-19T13:51:13.9727077Z �[36;1mecho ::set-output name=rebuild::yes�[0m
2021-11-19T13:51:13.9736471Z shell: /usr/bin/bash -e {0}
2021-11-19T13:51:13.9736779Z env:
2021-11-19T13:51:13.9737297Z   BUILD_ENVIRONMENT: linux-vulkan-bionic-py3.6-clang9
2021-11-19T13:51:13.9738298Z   DOCKER_IMAGE_BASE: 308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-bionic-py3.6-clang9
2021-11-19T13:51:13.9739291Z   SCCACHE_BUCKET: ossci-compiler-cache-circleci-v2
2021-11-19T13:51:13.9740155Z   XLA_CLANG_CACHE_S3_BUCKET_NAME: ossci-compiler-clang-cache-circleci-xla

See CircleCI build pytorch_linux_xenial_py3_clang5_android_ndk_r19c_x86_32_build (16/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Nov 19 13:48:10 CMake Error at caffe2/CMakeLists.txt:794 (add_library):
Nov 19 13:48:10 --   USE_REDIS             : OFF
Nov 19 13:48:10 --   USE_ROCKSDB           : OFF
Nov 19 13:48:10 --   USE_ZMQ               : OFF
Nov 19 13:48:10 --   USE_DISTRIBUTED       : OFF
Nov 19 13:48:10 --   USE_DEPLOY           : OFF
Nov 19 13:48:10 --   USE_BREAKPAD         : ON
Nov 19 13:48:10 --   Public Dependencies  : caffe2::Threads
Nov 19 13:48:10 --   Private Dependencies : eigen_blas;pthreadpool;cpuinfo;pytorch_qnnpack;nnpack;XNNPACK;VulkanWrapper;fp16;log;fmt::fmt-header-only;dl
Nov 19 13:48:10 --   USE_COREML_DELEGATE     : OFF
Nov 19 13:48:10 -- Configuring done
Nov 19 13:48:10 CMake Error at caffe2/CMakeLists.txt:794 (add_library):
Nov 19 13:48:10   Cannot find source file:
Nov 19 13:48:10 
Nov 19 13:48:10     /var/lib/jenkins/workspace/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp
Nov 19 13:48:10 
Nov 19 13:48:10   Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
Nov 19 13:48:10   .hxx .in .txx
Nov 19 13:48:10 
Nov 19 13:48:10 
Nov 19 13:48:11 -- Generating done
Nov 19 13:48:11 -- Build files have been written to: /var/lib/jenkins/workspace/build_android

See CircleCI build pytorch_xla_linux_bionic_py3_6_clang9_build (17/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Nov 19 13:50:39 CMake Error at caffe2/CMakeLists.txt:794 (add_library):
Nov 19 13:50:39 -- Configuring done
Nov 19 13:50:39 CMake Error at caffe2/CMakeLists.txt:794 (add_library):
Nov 19 13:50:39   Cannot find source file:
Nov 19 13:50:39 
Nov 19 13:50:39     /var/lib/jenkins/workspace/torch/csrc/autograd/profiler_kineto.cpp
Nov 19 13:50:39 
Nov 19 13:50:39   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
Nov 19 13:50:39   .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc
Nov 19 13:50:39 
Nov 19 13:50:39 
Nov 19 13:50:39 CMake Error at caffe2/CMakeLists.txt:794 (add_library):
Nov 19 13:50:39   No SOURCES given to target: torch_cpu
Nov 19 13:50:39 
Nov 19 13:50:39 
Nov 19 13:50:39 CMake Generate step failed.  Build files cannot be regenerated correctly.
Nov 19 13:50:39 -- Building version 1.11.0a0+gitdfdfa3a
Nov 19 13:50:39 cmake -DBUILD_ENVIRONMENT=pytorch-xla-linux-bionic-py3.6-clang9-build -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/var/lib/jenkins/workspace/torch -DCMAKE_PREFIX_PATH=/opt/conda/lib/python3.6/site-packages;/opt/conda -DNUMPY_INCLUDE_DIR=/opt/conda/lib/python3.6/site-packages/numpy/core/include -DOPENSSL_ROOT_DIR=/opt/openssl -DPYTHON_EXECUTABLE=/opt/conda/bin/python -DPYTHON_INCLUDE_DIR=/opt/conda/include/python3.6m -DPYTHON_LIBRARY=/opt/conda/lib/libpython3.6m.so.1.0 -DTORCH_BUILD_VERSION=1.11.0a0+gitdfdfa3a -DUSE_LLVM=/opt/llvm -DUSE_NUMPY=True /var/lib/jenkins/workspace
Nov 19 13:50:39 + cleanup
Nov 19 13:50:39 + retcode=1
Nov 19 13:50:39 + set +x

See CircleCI build binary_linux_libtorch_3_7m_cpu_gcc5_4_cxx11-abi_shared-with-deps_build (18/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

CMake Error at caffe2/CMakeLists.txt:794 (add_library):
-- Configuring done
CMake Error at caffe2/CMakeLists.txt:794 (add_library):
  Cannot find source file:

    /pytorch/torch/csrc/autograd/profiler_kineto.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx


CMake Error at caffe2/CMakeLists.txt:794 (add_library):
  No SOURCES given to target: torch_cpu


-- Build files have been written to: /pytorch/build


Exited with code exit status 1

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_build (19/19)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Nov 19 13:47:48 CMake Error at caffe2/CMakeLists.txt:794 (add_library):
Nov 19 13:47:48 --     USE_MPI               : OFF
Nov 19 13:47:48 --     USE_GLOO              : ON
Nov 19 13:47:48 --     USE_GLOO_WITH_OPENSSL : ON
Nov 19 13:47:48 --     USE_TENSORPIPE        : ON
Nov 19 13:47:48 --   USE_DEPLOY           : OFF
Nov 19 13:47:48 --   USE_BREAKPAD         : ON
Nov 19 13:47:48 --   Public Dependencies  : caffe2::Threads;caffe2::mkl
Nov 19 13:47:48 --   Private Dependencies : pthreadpool;cpuinfo;qnnpack;pytorch_qnnpack;nnpack;XNNPACK;fbgemm;fp16;gloo;tensorpipe;foxi_loader;rt;fmt::fmt-header-only;kineto;gcc_s;gcc;dl
Nov 19 13:47:48 --   USE_COREML_DELEGATE     : OFF
Nov 19 13:47:48 -- Configuring done
Nov 19 13:47:48 CMake Error at caffe2/CMakeLists.txt:794 (add_library):
Nov 19 13:47:48   Cannot find source file:
Nov 19 13:47:48 
Nov 19 13:47:48     /var/lib/jenkins/workspace/torch/csrc/autograd/profiler_kineto.cpp
Nov 19 13:47:48 
Nov 19 13:47:48   Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
Nov 19 13:47:48   .hxx .in .txx
Nov 19 13:47:48 
Nov 19 13:47:48 
Nov 19 13:47:49 CMake Warning at caffe2/CMakeLists.txt:1780 (add_executable):
Nov 19 13:47:49   Cannot generate a safe runtime search path for target op_allowlist_test

ci.pytorch.org: 1 failed


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@saketh-are saketh-are requested a review from albanD November 12, 2021 21:06
@saketh-are saketh-are added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Nov 12, 2021
@nonconvexopt
Copy link
Copy Markdown
Contributor Author

nonconvexopt commented Nov 14, 2021

Hello, @albanD. May I have a chance to be reviewed my PR?

I am trying to contribute to PyTorch by implementing distributions for symmetric matrices like Wishart distribution and Inverse Wishart distribution. Although there is a LKJ distribution for the cholesky decomposition of correlation matrices, it only represents equivalence to restricted form of Wishart distribution. Thus, I started implementing Wishart distribution and Inverse Wishart distribution seperately.

Before sending the PR of distributions, I added a short code about the 'torch.distributions.constraints.symmetric', which was not included in 'torch.distributions.constraints' previously. i.e., 'torch.distributions.constraints' contains module like 'positive_definite' constraints, but it just assumes symmetricity of the input matrix. (Link) So, I think it will be better if we have symmetric constraint in PyTorch.

We may further utilize it like
constraints.stack([constraints.symmetric, constraints.positive_definite])
for the constraint of the covariance matrix in Multivariate Normal distribution, for example, to check if the random matrix is a symmetric positive definite matrix.

Thanks.

@albanD
Copy link
Copy Markdown
Collaborator

albanD commented Nov 18, 2021

Sure, @fritzo would you have some time to take a look?

@nonconvexopt
Copy link
Copy Markdown
Contributor Author

Sorry for triggering review request. I selected wrong commit to revert. It is my bad.

@lezcano lezcano removed their request for review November 19, 2021 08:26
@nonconvexopt
Copy link
Copy Markdown
Contributor Author

nonconvexopt commented Nov 19, 2021

Sorry for the confusion. Making another PR.

@nonconvexopt nonconvexopt deleted the constraints_symmetric branch November 19, 2021 14:06
@IvanYashchuk IvanYashchuk removed their request for review November 19, 2021 20:50
facebook-github-bot pushed a commit that referenced this pull request Nov 24, 2021
…he tensor is symmetric at last 2 dimension. (#68644)

Summary:
Implemented submodule for #68050
Opened cleaned, final version of PR for #68240

Explanation:
I am trying to contribute to PyTorch by implementing distributions for symmetric matrices like Wishart distribution and Inverse Wishart distribution. Although there is a LKJ distribution for the Cholesky decomposition of correlation matrices, it only represents equivalence to restricted form of Wishart distribution. [https://arxiv.org/abs/1809.04746](https://arxiv.org/abs/1809.04746) Thus, I started implementing Wishart distribution and Inverse Wishart distribution seperately.

I added a short code about the 'torch.distributions.constraints.symmetric', which was not included in 'torch.distributions.constraints' previously. i.e., 'torch.distributions.constraints' contains module like 'positive_definite' constraints, but it just assumes symmetricity of the input matrix. [Link](https://github.com/pytorch/pytorch/blob/1adeeabdc0c8832420c091c5c668843768530d7f/torch/distributions/constraints.py#L466) So, I think it will be better if we have constraint checking symmetricity of the tensors in PyTorch.

We may further utilize it like
`constraints.stack([constraints.symmetric, constraints.positive_definite])`
for the constraint of the covariance matrix in Multivariate Normal distribution, for example, to check if the random matrix is a symmetric positive definite matrix.

cc fritzo neerajprad alicanb nikitaved

Pull Request resolved: #68644

Reviewed By: jbschlosser

Differential Revision: D32599540

Pulled By: neerajprad

fbshipit-source-id: 9227f7e9931834a548a88da69e4f2e9af7732cfe
PaliC added a commit that referenced this pull request Nov 30, 2021
…he tensor is symmetric at last 2 dimension. (#68644)

Summary:
Implemented submodule for #68050
Opened cleaned, final version of PR for #68240

Explanation:
I am trying to contribute to PyTorch by implementing distributions for symmetric matrices like Wishart distribution and Inverse Wishart distribution. Although there is a LKJ distribution for the Cholesky decomposition of correlation matrices, it only represents equivalence to restricted form of Wishart distribution. [https://arxiv.org/abs/1809.04746](https://arxiv.org/abs/1809.04746) Thus, I started implementing Wishart distribution and Inverse Wishart distribution seperately.

I added a short code about the 'torch.distributions.constraints.symmetric', which was not included in 'torch.distributions.constraints' previously. i.e., 'torch.distributions.constraints' contains module like 'positive_definite' constraints, but it just assumes symmetricity of the input matrix. [Link](https://github.com/pytorch/pytorch/blob/1adeeabdc0c8832420c091c5c668843768530d7f/torch/distributions/constraints.py#L466) So, I think it will be better if we have constraint checking symmetricity of the tensors in PyTorch.

We may further utilize it like
`constraints.stack([constraints.symmetric, constraints.positive_definite])`
for the constraint of the covariance matrix in Multivariate Normal distribution, for example, to check if the random matrix is a symmetric positive definite matrix.

cc fritzo neerajprad alicanb nikitaved

Reviewed By: jbschlosser

Differential Revision: D32599540

Pulled By: neerajprad

fbshipit-source-id: 9227f7e9931834a548a88da69e4f2e9af7732cfe

[ghstack-poisoned]
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 25, 2026
…he tensor is symmetric at last 2 dimension. (pytorch#68644)

Summary:
Implemented submodule for pytorch#68050
Opened cleaned, final version of PR for pytorch#68240

Explanation:
I am trying to contribute to PyTorch by implementing distributions for symmetric matrices like Wishart distribution and Inverse Wishart distribution. Although there is a LKJ distribution for the Cholesky decomposition of correlation matrices, it only represents equivalence to restricted form of Wishart distribution. [https://arxiv.org/abs/1809.04746](https://arxiv.org/abs/1809.04746) Thus, I started implementing Wishart distribution and Inverse Wishart distribution seperately.

I added a short code about the 'torch.distributions.constraints.symmetric', which was not included in 'torch.distributions.constraints' previously. i.e., 'torch.distributions.constraints' contains module like 'positive_definite' constraints, but it just assumes symmetricity of the input matrix. [Link](https://github.com/pytorch/pytorch/blob/7abc01e565acc86230389219613c349495b283a6/torch/distributions/constraints.py#L466) So, I think it will be better if we have constraint checking symmetricity of the tensors in PyTorch.

We may further utilize it like
`constraints.stack([constraints.symmetric, constraints.positive_definite])`
for the constraint of the covariance matrix in Multivariate Normal distribution, for example, to check if the random matrix is a symmetric positive definite matrix.

cc fritzo neerajprad alicanb nikitaved

Pull Request resolved: pytorch#68644

Reviewed By: jbschlosser

Differential Revision: D32599540

Pulled By: neerajprad

fbshipit-source-id: 9227f7e9931834a548a88da69e4f2e9af7732cfe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants